diff options
| author | 2021-08-31 16:01:03 +0000 | |
|---|---|---|
| committer | 2021-08-31 16:01:03 +0000 | |
| commit | c062a0216bb2f0984766dfa67ec5fc3774bc2ff7 (patch) | |
| tree | ff4e6be5f354bb93bbba9936455fdcb1126a2c89 | |
| parent | 964abd77da5aa6b1dcec6152d77810b9508486cb (diff) | |
| parent | 0fd19013e5acd477d37e617f8916112d5f877449 (diff) | |
Merge "Remove force transition logic when keyguard is occluded." into sc-v2-dev
| -rw-r--r-- | services/core/java/com/android/server/wm/KeyguardController.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/services/core/java/com/android/server/wm/KeyguardController.java b/services/core/java/com/android/server/wm/KeyguardController.java index 6f3edbcff4c0..4a8c36f9bc47 100644 --- a/services/core/java/com/android/server/wm/KeyguardController.java +++ b/services/core/java/com/android/server/wm/KeyguardController.java @@ -375,7 +375,7 @@ class KeyguardController { // TODO(b/113840485): Handle app transition for individual display, and apply occluded // state change to secondary displays. // For now, only default display fully supports occluded change. Other displays only - // updates keygaurd sleep token on that display. + // updates keyguard sleep token on that display. if (displayId != DEFAULT_DISPLAY) { updateKeyguardSleepToken(displayId); return; @@ -390,15 +390,6 @@ class KeyguardController { isDisplayOccluded(DEFAULT_DISPLAY) ? TRANSIT_KEYGUARD_OCCLUDE : TRANSIT_KEYGUARD_UNOCCLUDE, 0 /* flags */); - // When the occluding activity also turns on the display, visibility of the activity - // 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. - // TODO(b/194243906): Fix this before enabling the remote keyguard animation. - if (WindowManagerService.sEnableRemoteKeyguardGoingAwayAnimation - && topActivity != null) { - topActivity.mRequestForceTransition = true; - } updateKeyguardSleepToken(DEFAULT_DISPLAY); mWindowManager.executeAppTransition(); } finally { |