Use bugfix flag for archived broadcast extras
Bug: 322314760 Test: locally Flag: com.android.launcher3.enable_first_screen_broadcast_archiving_extras Change-Id: I9e3944d35a1cf2a17d1b5fcbf249ecf488265a93
This commit is contained in:
@@ -209,7 +209,10 @@ public class LoaderTask implements Runnable {
|
||||
mApp.getContext().getContentResolver(),
|
||||
"launcher_broadcast_installed_apps",
|
||||
/* def= */ 0);
|
||||
if (launcherBroadcastInstalledApps == 1 && mIsRestoreFromBackup) {
|
||||
boolean shouldAttachArchivingExtras = mIsRestoreFromBackup
|
||||
&& (launcherBroadcastInstalledApps == 1
|
||||
|| Flags.enableFirstScreenBroadcastArchivingExtras());
|
||||
if (shouldAttachArchivingExtras) {
|
||||
List<FirstScreenBroadcastModel> broadcastModels =
|
||||
FirstScreenBroadcastHelper.createModelsForFirstScreenBroadcast(
|
||||
mPmHelper,
|
||||
|
||||
Reference in New Issue
Block a user