diff options
author | Pinyao Ting <pinyaoting@google.com> | 2021-04-01 22:40:34 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-04-09 13:35:07 -0700 |
commit | e5eb0f08af4265c1eda0ddc5c15b8dea06a8bc4c (patch) | |
tree | e2a73fe263a8b82f5575b3078a05fc9a3b796cbf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b0b29b2440a9ec91ddd2daac3cbcc0d90bec4d08 (diff) |
Shortcut integration with AppSearch (Part 5)
Following changes are implemented in this CL:
1. Persist shortcuts to icing whenever a shortcut is created/updated.
2. Delete shortcuts from icing only when publisher explicitly removes
the shortcut. i.e. deletion due to exceeding shortcut limit / disabling
shortcut do not lead to shortcut deletion from icing.
3. Call AppSearchSession#reportUsage when
ShortcutManger#pushDynamicShortcuts is invoked.
4. Add StrictMode warning for calling async method on mainthread.
Bug: 151359749
Test: atest ShortcutManagerTest1 ShortcutManagerTest2
ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5
ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8
ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Test: atest CtsShortcutManagerTestCases
Change-Id: I36f49e9546c11ddcddb9968f32169a19516d23f5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions