Loading services/core/java/com/android/server/input/InputWindowHandle.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -106,6 +106,7 @@ public final class InputWindowHandle { .append(", frame=[").append(frameLeft).append(",").append(frameTop).append(",") .append(", frame=[").append(frameLeft).append(",").append(frameTop).append(",") .append(frameRight).append(",").append(frameBottom).append("]") .append(frameRight).append(",").append(frameBottom).append("]") .append(", touchableRegion=").append(touchableRegion) .append(", touchableRegion=").append(touchableRegion) .append(", visible=").append(visible) .toString(); .toString(); } } Loading services/core/java/com/android/server/wm/WindowState.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -1605,8 +1605,9 @@ final class WindowState implements WindowManagerPolicy.WindowState { // Already showing. // Already showing. return false; return false; } } if (!mHasSurface) { if (!mHasSurface && mDestroySurfaceWhenHidden) { mDestroying = false; // This is a window that doesn't retain the surface when it's hidden, so immediately // when we want to show it again, we need to create the surface for it. mWinAnimator.createSurfaceLocked(); mWinAnimator.createSurfaceLocked(); } } if (DEBUG_VISIBILITY) Slog.v(TAG, "Policy visibility true: " + this); if (DEBUG_VISIBILITY) Slog.v(TAG, "Policy visibility true: " + this); Loading Loading
services/core/java/com/android/server/input/InputWindowHandle.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -106,6 +106,7 @@ public final class InputWindowHandle { .append(", frame=[").append(frameLeft).append(",").append(frameTop).append(",") .append(", frame=[").append(frameLeft).append(",").append(frameTop).append(",") .append(frameRight).append(",").append(frameBottom).append("]") .append(frameRight).append(",").append(frameBottom).append("]") .append(", touchableRegion=").append(touchableRegion) .append(", touchableRegion=").append(touchableRegion) .append(", visible=").append(visible) .toString(); .toString(); } } Loading
services/core/java/com/android/server/wm/WindowState.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -1605,8 +1605,9 @@ final class WindowState implements WindowManagerPolicy.WindowState { // Already showing. // Already showing. return false; return false; } } if (!mHasSurface) { if (!mHasSurface && mDestroySurfaceWhenHidden) { mDestroying = false; // This is a window that doesn't retain the surface when it's hidden, so immediately // when we want to show it again, we need to create the surface for it. mWinAnimator.createSurfaceLocked(); mWinAnimator.createSurfaceLocked(); } } if (DEBUG_VISIBILITY) Slog.v(TAG, "Policy visibility true: " + this); if (DEBUG_VISIBILITY) Slog.v(TAG, "Policy visibility true: " + this); Loading