[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
2024-04-08 18:20:10 +00:00
parent adbdfe2ac7
commit e5ad96ce10
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()) {