diff options
author | Pinyao Ting <pinyaoting@google.com> | 2020-11-16 17:37:58 -0800 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-03-22 12:08:24 -0700 |
commit | b41bc495ec1b2bcbe0ac75471ed85a76a805ed40 (patch) | |
tree | 68f4292b5d64737c82e59b585128ebc7710c60a5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5f573843ca8cea7b39b8ebf3124fb6e5b13a11ae (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: I7ae7ec50a7e49f8de819d8239d429fc494017f96
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions