Skip to content

Commit 8c8487f

Browse files
Dianne HackbornAndroid Git Automerger
authored andcommitted
am 47e23ec: am e71a630: am ec799e8: Merge "More on #7296510 Transition from lock screen to dreaming is really bad" into jb-mr1-dev
* commit '47e23ecb4cf3754c3e458371313b28d1fb043cdf': More on #7296510 Transition from lock screen to dreaming is really bad
2 parents fb12452 + 47e23ec commit 8c8487f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,14 +2925,14 @@ public void applyPostLayoutPolicyLw(WindowState win,
29252925
mNoDreamEnterAnim = true;
29262926
}
29272927
if (((attrs.type >= FIRST_APPLICATION_WINDOW && attrs.type <= LAST_APPLICATION_WINDOW)
2928-
|| attrs.type == TYPE_DREAM)
2928+
|| (attrs.type == TYPE_DREAM && win.isVisibleLw()))
29292929
&& attrs.x == 0 && attrs.y == 0
29302930
&& attrs.width == WindowManager.LayoutParams.MATCH_PARENT
29312931
&& attrs.height == WindowManager.LayoutParams.MATCH_PARENT) {
29322932
if (DEBUG_LAYOUT) Log.v(TAG, "Fullscreen window: " + win);
29332933
mTopFullscreenOpaqueWindowState = win;
29342934
if (attrs.type == TYPE_DREAM) {
2935-
mNoDreamEnterAnim = true;
2935+
mForceStatusBarFromKeyguard = true;
29362936
}
29372937
if ((attrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0) {
29382938
if (DEBUG_LAYOUT) Log.v(TAG, "Setting mHideLockScreen to true by win " + win);

0 commit comments

Comments
 (0)