commit | 328c32235ee537f7d6033f2e9b9234f8ae7b3c84 | [log] [tgz] |
---|---|---|
author | Jakob Schneider <jakobschneider@google.com> | Thu Feb 01 15:39:11 2024 +0000 |
committer | Jakob Schneider <jakobschneider@google.com> | Tue Feb 06 14:29:07 2024 +0000 |
tree | 91a101160006f635cf65bacd4a3f2183c99c61c5 | |
parent | bc663baab028c261a87f9ec443bc7cac3a1ad8d8 [diff] [blame] |
Add the archiving sysprop check to launcher3. This system property will be used to test the feature in DVT. This is required because the new device is built on U QPR3, not V. See https://docs.google.com/document/d/1h8sLlnnhwGP4uZssglBqTShMoQcEq5dvR7jsJmmp0Cw/edit?resourcekey=0-KTFHkPKTdtMN-5kQYBWJig&tab=t.0#heading=h.x9snb54sjlu9 for more details. Test: tested manually Flag: ACONFIG com.android.launcher3.enable_support_for_archiving TEAMFOOD Change-Id: Ie64a40ba799c81057258dd7de3872a0494cff2d8
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index c3cbd2b..60a6be6 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java
@@ -109,7 +109,8 @@ launcherApps.registerCallback(callbacks); mOnTerminateCallback.add(() -> mContext.getSystemService(LauncherApps.class).unregisterCallback(callbacks)); - if (Flags.enableSupportForArchiving()) { + + if (Utilities.enableSupportForArchiving()) { ArchiveCompatibilityParams params = new ArchiveCompatibilityParams(); params.setEnableUnarchivalConfirmation(false); launcherApps.setArchiveCompatibility(params);