Fixed crash on A9

- Closes : #4151
This commit is contained in:
MrSluffy committed 2024-04-03 18:39:45 +08:00
1 parent da047031a3
commit 09620278f6
1 file changed
+3 -6
@@ -1150,13 +1150,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
* Registers remote animations used when closing apps to home screen.
*/
public void registerRemoteTransitions() {
if (ENABLE_SHELL_TRANSITIONS && LawnchairQuickstepCompat.ATLEAST_U) {
if (SEPARATE_RECENTS_ACTIVITY.get() || !Utilities.ATLEAST_T) return;
if (ENABLE_SHELL_TRANSITIONS && LawnchairQuickstepCompat.ATLEAST_U)
SystemUiProxy.INSTANCE.get(mLauncher).shareTransactionQueue();
}
if (SEPARATE_RECENTS_ACTIVITY.get()) {
return;
}
if (!LawnchairQuickstepCompat.ATLEAST_T) return;
if (hasControlRemoteAppTransitionPermission()) {
mWallpaperOpenTransitionRunner = createWallpaperOpenRunner(false /* fromUnlock */);
mLauncherOpenTransition = LawnchairQuickstepCompat.getRemoteTransitionCompat().getRemoteTransition(