Merge "Handle when archiving icon flag is turned off by setting overlay back on" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
edc93ed7fe
@@ -115,9 +115,7 @@ public class LauncherAppState implements SafeCloseable {
|
||||
if (BuildCompat.isAtLeastV() && Flags.enableSupportForArchiving()) {
|
||||
ArchiveCompatibilityParams params = new ArchiveCompatibilityParams();
|
||||
params.setEnableUnarchivalConfirmation(false);
|
||||
if (Flags.enableNewArchivingIcon()) {
|
||||
params.setEnableIconOverlay(false);
|
||||
}
|
||||
params.setEnableIconOverlay(!Flags.enableNewArchivingIcon());
|
||||
launcherApps.setArchiveCompatibility(params);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user