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

This commit is contained in:
Song Chun Fan authored and Android (Google) Code Review committed 2024-04-09 22:05:08 +00:00
commit ab21ddb2da
14 files changed
+27 -24

No files matched your search

@@ -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()) {