Loading services/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ public final class ActivityManagerService extends ActivityManagerNative static final boolean DEBUG_BACKGROUND_BROADCAST = DEBUG_BROADCAST || false; static final boolean DEBUG_CLEANUP = localLOGV || false; static final boolean DEBUG_CONFIGURATION = localLOGV || false; static final boolean DEBUG_FOCUS = true; static final boolean DEBUG_FOCUS = false; static final boolean DEBUG_IMMERSIVE = localLOGV || false; static final boolean DEBUG_MU = localLOGV || false; static final boolean DEBUG_OOM_ADJ = localLOGV || false; Loading services/java/com/android/server/wm/WindowManagerService.java +7 −14 Original line number Diff line number Diff line Loading @@ -194,9 +194,6 @@ public class WindowManagerService extends IWindowManager.Stub static final boolean PROFILE_ORIENTATION = false; static final boolean localLOGV = DEBUG; final static boolean REVERSE_ITERATOR = true; final static boolean FORWARD_ITERATOR = false; /** How much to multiply the policy's type layer, to reserve room * for multiple windows of the same type and Z-ordering adjustment * with TYPE_LAYER_OFFSET. */ Loading Loading @@ -9574,21 +9571,17 @@ public class WindowManagerService extends IWindowManager.Stub return doRequest; } /** If a window that has an animation specifying a colored background is the current wallpaper * target, then the color goes *below* the wallpaper so we don't cause the wallpaper to /** If a window that has an animation specifying a colored background and the current wallpaper * is visible, then the color goes *below* the wallpaper so we don't cause the wallpaper to * suddenly disappear. */ int adjustAnimationBackground(WindowStateAnimator winAnimator) { final WindowState win = winAnimator.mWin; if (mWallpaperTarget == win || mLowerWallpaperTarget == win || mUpperWallpaperTarget == win) { WindowList windows = win.getWindowList(); WindowList windows = winAnimator.mWin.getWindowList(); for (int i = windows.size() - 1; i >= 0; --i) { WindowState testWin = windows.get(i); if (testWin.mIsWallpaper) { if (testWin.mIsWallpaper && testWin.isVisibleNow()) { return testWin.mWinAnimator.mAnimLayer; } } } return winAnimator.mAnimLayer; } Loading Loading
services/java/com/android/server/am/ActivityManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ public final class ActivityManagerService extends ActivityManagerNative static final boolean DEBUG_BACKGROUND_BROADCAST = DEBUG_BROADCAST || false; static final boolean DEBUG_CLEANUP = localLOGV || false; static final boolean DEBUG_CONFIGURATION = localLOGV || false; static final boolean DEBUG_FOCUS = true; static final boolean DEBUG_FOCUS = false; static final boolean DEBUG_IMMERSIVE = localLOGV || false; static final boolean DEBUG_MU = localLOGV || false; static final boolean DEBUG_OOM_ADJ = localLOGV || false; Loading
services/java/com/android/server/wm/WindowManagerService.java +7 −14 Original line number Diff line number Diff line Loading @@ -194,9 +194,6 @@ public class WindowManagerService extends IWindowManager.Stub static final boolean PROFILE_ORIENTATION = false; static final boolean localLOGV = DEBUG; final static boolean REVERSE_ITERATOR = true; final static boolean FORWARD_ITERATOR = false; /** How much to multiply the policy's type layer, to reserve room * for multiple windows of the same type and Z-ordering adjustment * with TYPE_LAYER_OFFSET. */ Loading Loading @@ -9574,21 +9571,17 @@ public class WindowManagerService extends IWindowManager.Stub return doRequest; } /** If a window that has an animation specifying a colored background is the current wallpaper * target, then the color goes *below* the wallpaper so we don't cause the wallpaper to /** If a window that has an animation specifying a colored background and the current wallpaper * is visible, then the color goes *below* the wallpaper so we don't cause the wallpaper to * suddenly disappear. */ int adjustAnimationBackground(WindowStateAnimator winAnimator) { final WindowState win = winAnimator.mWin; if (mWallpaperTarget == win || mLowerWallpaperTarget == win || mUpperWallpaperTarget == win) { WindowList windows = win.getWindowList(); WindowList windows = winAnimator.mWin.getWindowList(); for (int i = windows.size() - 1; i >= 0; --i) { WindowState testWin = windows.get(i); if (testWin.mIsWallpaper) { if (testWin.mIsWallpaper && testWin.isVisibleNow()) { return testWin.mWinAnimator.mAnimLayer; } } } return winAnimator.mAnimLayer; } Loading