Skip to content

Commit e71a630

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

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)