Skip to content
Commit 9b129854 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

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
parent e713ee6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment