Loading services/core/java/com/android/server/wm/WindowManagerService.java +5 −3 Original line number Diff line number Diff line Loading @@ -8726,9 +8726,11 @@ public class WindowManagerService extends IWindowManager.Stub // we need to go through the process of getting informed by the // application when it has finished drawing. if (w.mOrientationChanging || dragResizingChanged) { if (DEBUG_SURFACE_TRACE || DEBUG_ANIM || DEBUG_ORIENTATION) Slog.v(TAG, "Orientation start waiting for draw mDrawState=DRAW_PENDING in " + w + ", surfaceController " + winAnimator.mSurfaceController); if (DEBUG_SURFACE_TRACE || DEBUG_ANIM || DEBUG_ORIENTATION || DEBUG_RESIZE) { Slog.v(TAG, "Orientation or resize start waiting for draw" + ", mDrawState=DRAW_PENDING in " + w + ", surfaceController " + winAnimator.mSurfaceController); } winAnimator.mDrawState = WindowStateAnimator.DRAW_PENDING; if (w.mAppToken != null) { w.mAppToken.allDrawn = false; Loading services/core/java/com/android/server/wm/WindowStateAnimator.java +10 −2 Original line number Diff line number Diff line Loading @@ -756,7 +756,11 @@ class WindowStateAnimator { WindowManagerService.logSurface(mWin, "DESTROY", null); destroySurface(); } // Don't hide wallpaper if we're deferring the surface destroy // because of a surface change. if (!(mSurfaceDestroyDeferred && mDestroyPreservedSurfaceUponRedraw)) { mWallpaperControllerLocked.hideWallpapers(mWin); } } catch (RuntimeException e) { Slog.w(TAG, "Exception thrown when destroying Window " + this + " surface " + mSurfaceController + " session " + mSession Loading Loading @@ -787,8 +791,12 @@ class WindowStateAnimator { WindowManagerService.logSurface(mWin, "DESTROY PENDING", e); } mPendingDestroySurface.destroyInTransaction(); // Don't hide wallpaper if we're destroying a deferred surface // after a surface mode change. if (!mDestroyPreservedSurfaceUponRedraw) { mWallpaperControllerLocked.hideWallpapers(mWin); } } } catch (RuntimeException e) { Slog.w(TAG, "Exception thrown when destroying Window " + this + " surface " + mPendingDestroySurface Loading Loading
services/core/java/com/android/server/wm/WindowManagerService.java +5 −3 Original line number Diff line number Diff line Loading @@ -8726,9 +8726,11 @@ public class WindowManagerService extends IWindowManager.Stub // we need to go through the process of getting informed by the // application when it has finished drawing. if (w.mOrientationChanging || dragResizingChanged) { if (DEBUG_SURFACE_TRACE || DEBUG_ANIM || DEBUG_ORIENTATION) Slog.v(TAG, "Orientation start waiting for draw mDrawState=DRAW_PENDING in " + w + ", surfaceController " + winAnimator.mSurfaceController); if (DEBUG_SURFACE_TRACE || DEBUG_ANIM || DEBUG_ORIENTATION || DEBUG_RESIZE) { Slog.v(TAG, "Orientation or resize start waiting for draw" + ", mDrawState=DRAW_PENDING in " + w + ", surfaceController " + winAnimator.mSurfaceController); } winAnimator.mDrawState = WindowStateAnimator.DRAW_PENDING; if (w.mAppToken != null) { w.mAppToken.allDrawn = false; Loading
services/core/java/com/android/server/wm/WindowStateAnimator.java +10 −2 Original line number Diff line number Diff line Loading @@ -756,7 +756,11 @@ class WindowStateAnimator { WindowManagerService.logSurface(mWin, "DESTROY", null); destroySurface(); } // Don't hide wallpaper if we're deferring the surface destroy // because of a surface change. if (!(mSurfaceDestroyDeferred && mDestroyPreservedSurfaceUponRedraw)) { mWallpaperControllerLocked.hideWallpapers(mWin); } } catch (RuntimeException e) { Slog.w(TAG, "Exception thrown when destroying Window " + this + " surface " + mSurfaceController + " session " + mSession Loading Loading @@ -787,8 +791,12 @@ class WindowStateAnimator { WindowManagerService.logSurface(mWin, "DESTROY PENDING", e); } mPendingDestroySurface.destroyInTransaction(); // Don't hide wallpaper if we're destroying a deferred surface // after a surface mode change. if (!mDestroyPreservedSurfaceUponRedraw) { mWallpaperControllerLocked.hideWallpapers(mWin); } } } catch (RuntimeException e) { Slog.w(TAG, "Exception thrown when destroying Window " + this + " surface " + mPendingDestroySurface Loading