Debug time spent in onResume
Bug: 8660324 Also, fix regression where new app icons didn't bounce/animate in Bug: 8707110
This commit is contained in:
1 parent
94dcefa435
commit
447bf84d24
2 files changed
+24
-1
No files matched your search
@@ -203,7 +203,7 @@ public class InstallShortcutReceiver extends BroadcastReceiver {
|
||||
final int newAppsScreen = sharedPrefs.getInt(
|
||||
NEW_APPS_PAGE_KEY, screen);
|
||||
SharedPreferences.Editor editor = sharedPrefs.edit();
|
||||
if (newAppsScreen == screen) {
|
||||
if (newAppsScreen == -1 || newAppsScreen == screen) {
|
||||
addToStringSet(sharedPrefs,
|
||||
editor, NEW_APPS_LIST_KEY, intent.toUri(0));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user