Loading services/core/java/com/android/server/wm/WindowStateAnimator.java +16 −2 Original line number Diff line number Diff line Loading @@ -475,9 +475,11 @@ class WindowStateAnimator { if (!mLastHidden) { //dump(); mLastHidden = true; if (mSurfaceController != null) { mSurfaceController.hideInTransaction(reason); } } } boolean finishDrawingLocked() { final boolean startingWindow = Loading Loading @@ -537,7 +539,9 @@ class WindowStateAnimator { return; } if (SHOW_TRANSACTIONS) WindowManagerService.logSurface(mWin, "SET FREEZE LAYER", null); if (mSurfaceController != null) { mSurfaceController.setLayer(mAnimLayer + 1); } mDestroyPreservedSurfaceUponRedraw = true; mSurfaceDestroyDeferred = true; destroySurfaceLocked(); Loading Loading @@ -1328,6 +1332,10 @@ class WindowStateAnimator { } void setTransparentRegionHintLocked(final Region region) { if (mSurfaceController == null) { Slog.w(TAG, "setTransparentRegionHint: null mSurface after mHasSurface true"); return; } mSurfaceController.setTransparentRegionHint(region); } Loading Loading @@ -1374,10 +1382,16 @@ class WindowStateAnimator { } void setOpaqueLocked(boolean isOpaque) { if (mSurfaceController == null) { return; } mSurfaceController.setOpaque(isOpaque); } void setSecureLocked(boolean isSecure) { if (mSurfaceController == null) { return; } mSurfaceController.setSecure(isSecure); } Loading Loading
services/core/java/com/android/server/wm/WindowStateAnimator.java +16 −2 Original line number Diff line number Diff line Loading @@ -475,9 +475,11 @@ class WindowStateAnimator { if (!mLastHidden) { //dump(); mLastHidden = true; if (mSurfaceController != null) { mSurfaceController.hideInTransaction(reason); } } } boolean finishDrawingLocked() { final boolean startingWindow = Loading Loading @@ -537,7 +539,9 @@ class WindowStateAnimator { return; } if (SHOW_TRANSACTIONS) WindowManagerService.logSurface(mWin, "SET FREEZE LAYER", null); if (mSurfaceController != null) { mSurfaceController.setLayer(mAnimLayer + 1); } mDestroyPreservedSurfaceUponRedraw = true; mSurfaceDestroyDeferred = true; destroySurfaceLocked(); Loading Loading @@ -1328,6 +1332,10 @@ class WindowStateAnimator { } void setTransparentRegionHintLocked(final Region region) { if (mSurfaceController == null) { Slog.w(TAG, "setTransparentRegionHint: null mSurface after mHasSurface true"); return; } mSurfaceController.setTransparentRegionHint(region); } Loading Loading @@ -1374,10 +1382,16 @@ class WindowStateAnimator { } void setOpaqueLocked(boolean isOpaque) { if (mSurfaceController == null) { return; } mSurfaceController.setOpaque(isOpaque); } void setSecureLocked(boolean isSecure) { if (mSurfaceController == null) { return; } mSurfaceController.setSecure(isSecure); } Loading