Loading services/core/java/com/android/server/wm/WindowSurfacePlacer.java +30 −34 Original line number Diff line number Diff line Loading @@ -1483,7 +1483,7 @@ class WindowSurfacePlacer { mObscured = true; } if (w.mHasSurface) { if (w.mHasSurface && canBeSeen) { if ((attrFlags&FLAG_KEEP_SCREEN_ON) != 0) { mHoldScreen = w.mSession; mHoldScreenWindow = w; Loading @@ -1506,14 +1506,11 @@ class WindowSurfacePlacer { } final int type = attrs.type; if (canBeSeen && (type == TYPE_SYSTEM_DIALOG || type == TYPE_SYSTEM_ERROR || (attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0)) { if (type == TYPE_SYSTEM_DIALOG || type == TYPE_SYSTEM_ERROR || (attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) { mSyswin = true; } if (canBeSeen) { // This function assumes that the contents of the default display are // processed first before secondary displays. final DisplayContent displayContent = w.getDisplayContent(); Loading Loading @@ -1545,7 +1542,6 @@ class WindowSurfacePlacer { } } } } private void updateAllDrawnLocked(DisplayContent displayContent) { // See if any windows have been drawn, so they (and others Loading Loading
services/core/java/com/android/server/wm/WindowSurfacePlacer.java +30 −34 Original line number Diff line number Diff line Loading @@ -1483,7 +1483,7 @@ class WindowSurfacePlacer { mObscured = true; } if (w.mHasSurface) { if (w.mHasSurface && canBeSeen) { if ((attrFlags&FLAG_KEEP_SCREEN_ON) != 0) { mHoldScreen = w.mSession; mHoldScreenWindow = w; Loading @@ -1506,14 +1506,11 @@ class WindowSurfacePlacer { } final int type = attrs.type; if (canBeSeen && (type == TYPE_SYSTEM_DIALOG || type == TYPE_SYSTEM_ERROR || (attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0)) { if (type == TYPE_SYSTEM_DIALOG || type == TYPE_SYSTEM_ERROR || (attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) { mSyswin = true; } if (canBeSeen) { // This function assumes that the contents of the default display are // processed first before secondary displays. final DisplayContent displayContent = w.getDisplayContent(); Loading Loading @@ -1545,7 +1542,6 @@ class WindowSurfacePlacer { } } } } private void updateAllDrawnLocked(DisplayContent displayContent) { // See if any windows have been drawn, so they (and others Loading