Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb54b802 authored by Issei Suzuki's avatar Issei Suzuki
Browse files

Fix jank when launching an activity from an occluding activity.

Bug: 194243906
Test: manual
  1. From lockscreen, double tap power to launch camera.
  2. Take photo, go to filmstrip. (no jaaring app transition)
  3. Go back twice to lock screen. (no flip between translucent and opaque
     state in the camere preview)
Change-Id: I60dc38e6d9505c8bc949d30e0d84a8771b61d50a
parent 9a9741b9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -372,7 +372,9 @@ class KeyguardController {
                // can be committed before KEYGUARD_OCCLUDE transition is handled.
                // Set mRequestForceTransition flag to make sure that the app transition animation
                // is applied for such case.
                if (topActivity != null) {
                // TODO(b/194243906): Fix this before enabling the remote keyguard animation.
                if (WindowManagerService.sEnableRemoteKeyguardGoingAwayAnimation
                        && topActivity != null) {
                    topActivity.mRequestForceTransition = true;
                }
                updateKeyguardSleepToken(DEFAULT_DISPLAY);