diff options
author | Pinyao Ting <pinyaoting@google.com> | 2021-03-29 12:41:44 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-03-29 20:13:37 +0000 |
commit | 9b129854b513c72d10ea81f83788b363adc15680 (patch) | |
tree | e7ce02df9bf8a342797bd812080dcba92aa943d3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e713ee6c603cba0b3182d887ea2013a9e5706d82 (diff) |
Refrain from creating app-search schema unnecessarily.
Calling removeShortcuts() resulted in creating an app-search schema
for every package, even the ones without shortcuts. This behavior is
causing an extra delay when launcher starts.
Bug: 183614316, 183684181
Test: manual
Test: atest ShortcutManagerTest1 ShortcutManagerTest2 |
ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5 |
ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8 |
ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
Change-Id: I20aaf0d8b78a92c33d22989c9cc35c53fb9b4127
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions