mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Use bugfix flags for desktop mode transitions (exit, applaunch, alttab)
The transitions changes are bug fixes / polish, so use bugfix flags for these changes. An existing non-bugfix flag cannot be changed into a bugfix flag, so instead we create new flags with the bugfix type. Bug: 380224768 Bug: 380225486 Bug: 380224832 Test: manual - disable main flags, use bugfix flags Flag: com.android.window.flags.enable_desktop_windowing_enter_transition_bugfix Change-Id: I1c9ea635a362db741f4a632e6360aee87c12750e
This commit is contained in:
@@ -1567,7 +1567,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
|
||||
private boolean isFreeformAnimation(RemoteAnimationTarget[] appTargets) {
|
||||
return DesktopModeStatus.canEnterDesktopMode(mLauncher.getApplicationContext())
|
||||
&& DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_EXIT_TRANSITIONS.isTrue()
|
||||
&& (DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_EXIT_TRANSITIONS.isTrue()
|
||||
|| DesktopModeFlags.ENABLE_DESKTOP_WINDOWING_EXIT_TRANSITIONS_BUGFIX.isTrue())
|
||||
&& Arrays.stream(appTargets)
|
||||
.anyMatch(app -> app.taskInfo != null && app.taskInfo.isFreeform());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user