Merge "[Launcher/Archive] remove all checks for the archiving system property" into main

This commit is contained in:
Song Chun Fan
2024-04-09 22:05:08 +00:00
committed by Android (Google) Code Review
14 changed files with 27 additions and 24 deletions
@@ -276,7 +276,7 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
PackageInstallInfo.STATUS_INSTALLED_DOWNLOADING);
// In case an app is archived, we need to make sure that archived state
// in WorkspaceItemInfo is refreshed.
if (Utilities.enableSupportForArchiving() && !activities.isEmpty()) {
if (Flags.enableSupportForArchiving() && !activities.isEmpty()) {
boolean newArchivalState = activities.get(
0).getActivityInfo().isArchived;
if (newArchivalState != si.isArchived()) {