Merge "Fix jank when launching an activity from an occluding activity." into sc-dev
This commit is contained in:
@@ -374,7 +374,9 @@ class KeyguardController {
|
|||||||
// can be committed before KEYGUARD_OCCLUDE transition is handled.
|
// can be committed before KEYGUARD_OCCLUDE transition is handled.
|
||||||
// Set mRequestForceTransition flag to make sure that the app transition animation
|
// Set mRequestForceTransition flag to make sure that the app transition animation
|
||||||
// is applied for such case.
|
// 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;
|
topActivity.mRequestForceTransition = true;
|
||||||
}
|
}
|
||||||
updateKeyguardSleepToken(DEFAULT_DISPLAY);
|
updateKeyguardSleepToken(DEFAULT_DISPLAY);
|
||||||
|
|||||||
Reference in New Issue
Block a user