[Launcher/Archive] remove all checks for the archiving system property

No longer needed

Change-Id: I62c8843aa04a245d1dcc30f7787c71d17993f5d1
BUG: 331165939
Test: builds
This commit is contained in:
Song Chun Fan committed 2024-04-08 23:14:07 +00:00
1 parent adbdfe2ac7
commit e5ad96ce10
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()) {