Skip to content

Commit ec799e8

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "More on #7296510 Transition from lock screen to dreaming is really bad" into jb-mr1-dev
2 parents b883116 + 297d789 commit ec799e8

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)