diff options
author | Pinyao Ting <pinyaoting@google.com> | 2021-03-29 18:26:16 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-03-30 02:05:25 +0000 |
commit | 06445c2da12517a608868482c87e21c1f6a8afe1 (patch) | |
tree | ad5e81f0d8394863a1a1c16d2a83077c115e37b6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c3f2588fed7441b899190e50b322db14a2516f40 (diff) |
Remove unnecessary invokation on AppSearch
There are some legacy logic which attempts to load shortcuts from xml
file, which in most cases ended up calling AppSearchSession#putDocuments
with an empty list because there are nothing to write into AppSearch.
Since this is happening for every package that has a shortcut, these
invokations collectively added some delay when launcher is starting.
This CL removes the invokations altogether since they are not needed in
the first place.
Bug: 183982287
Test: flash the device, reboot and observe
Test: atest ShortcutManagerTest1 ShortcutManagerTest2
ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5
ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8
ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Test: atest CtsShortcutManagerTestCases
Change-Id: I57bd9ed93c1a2068a090ff3d67906702481220fd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions