Skip to content

Commit 27f752e

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "WindowManager shouldn't layout non-visible windows" into jb-mr1-dev
2 parents a07d047 + 9cceae9 commit 27f752e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/wm/WindowManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8379,7 +8379,7 @@ private final void performLayoutLockedInner(final DisplayContent displayContent,
83798379
// windows, since that means "perform layout as normal,
83808380
// just don't display").
83818381
if (!gone || !win.mHaveFrame || win.mLayoutNeeded
8382-
|| win.isConfigChanged()
8382+
|| (win.mAttrs.type == TYPE_KEYGUARD && win.isConfigChanged())
83838383
|| win.mAttrs.type == TYPE_UNIVERSE_BACKGROUND) {
83848384
if (!win.mLayoutAttached) {
83858385
if (initial) {

0 commit comments

Comments
 (0)