Skip to content

Commit 0962027

Browse files
committed
Fixed crash on A9
- Closes : #4151
1 parent da04703 commit 0962027

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

quickstep/src/com/android/launcher3/QuickstepTransitionManager.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,13 +1150,10 @@ private void addRemoteAnimations(RemoteAnimationDefinition definition) {
11501150
* Registers remote animations used when closing apps to home screen.
11511151
*/
11521152
public void registerRemoteTransitions() {
1153-
if (ENABLE_SHELL_TRANSITIONS && LawnchairQuickstepCompat.ATLEAST_U) {
1153+
if (SEPARATE_RECENTS_ACTIVITY.get() || !Utilities.ATLEAST_T) return;
1154+
1155+
if (ENABLE_SHELL_TRANSITIONS && LawnchairQuickstepCompat.ATLEAST_U)
11541156
SystemUiProxy.INSTANCE.get(mLauncher).shareTransactionQueue();
1155-
}
1156-
if (SEPARATE_RECENTS_ACTIVITY.get()) {
1157-
return;
1158-
}
1159-
if (!LawnchairQuickstepCompat.ATLEAST_T) return;
11601157
if (hasControlRemoteAppTransitionPermission()) {
11611158
mWallpaperOpenTransitionRunner = createWallpaperOpenRunner(false /* fromUnlock */);
11621159
mLauncherOpenTransition = LawnchairQuickstepCompat.getRemoteTransitionCompat().getRemoteTransition(

0 commit comments

Comments
 (0)