Merge "Refrain from creating app-search schema unnecessarily." into sc-dev
This commit is contained in:
@@ -333,10 +333,7 @@ class ShortcutUser {
|
||||
|
||||
if (!shortcutPackage.rescanPackageIfNeeded(isNewApp, forceRescan)) {
|
||||
if (isNewApp) {
|
||||
final ShortcutPackage sp = mPackages.remove(packageName);
|
||||
if (sp != null) {
|
||||
sp.removeShortcuts();
|
||||
}
|
||||
mPackages.remove(packageName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user