Skip to content

Commit

Permalink
Fixed crash on A9
Browse files Browse the repository at this point in the history
- Closes : #4151
  • Loading branch information
MrSluffy committed Apr 3, 2024
1 parent da04703 commit 0962027
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1150,13 +1150,10 @@ private void addRemoteAnimations(RemoteAnimationDefinition definition) {
* 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(
Expand Down

0 comments on commit 0962027

Please sign in to comment.