mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Remove old Desktop transitions flags usages
Bug: 369763947 Test: n/a Flag: EXEMPT flags removal Change-Id: Ie4cd157bb94477db83a1995f976c2057f78902e4
This commit is contained in:
@@ -1567,8 +1567,7 @@ 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_BUGFIX.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