mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps Bug: 322314760 Test: manually tested (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:30a3acc7796850caa6be51b6c46d26d35dfb0b3c) Merged-In: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0 Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
653650bb32
commit
35439c0821
@@ -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