Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps Bug: 322314760 Test: manually tested Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
This commit is contained in:
@@ -209,7 +209,7 @@ public class LoaderTask implements Runnable {
|
||||
mApp.getContext().getContentResolver(),
|
||||
"launcher_broadcast_installed_apps",
|
||||
/* def= */ 0);
|
||||
if (launcherBroadcastInstalledApps == 1) {
|
||||
if (launcherBroadcastInstalledApps == 1 && mIsRestoreFromBackup) {
|
||||
List<FirstScreenBroadcastModel> broadcastModels =
|
||||
FirstScreenBroadcastHelper.createModelsForFirstScreenBroadcast(
|
||||
mPmHelper,
|
||||
|
||||
Reference in New Issue
Block a user