Loading libs/WindowManager/Shell/src/com/android/wm/shell/transition/DefaultTransitionHandler.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -417,7 +417,8 @@ public class DefaultTransitionHandler implements Transitions.TransitionHandler { || type == TRANSIT_TO_FRONT || type == TRANSIT_TO_FRONT || type == TRANSIT_TO_BACK; || type == TRANSIT_TO_BACK; final boolean isTranslucent = (change.getFlags() & FLAG_TRANSLUCENT) != 0; final boolean isTranslucent = (change.getFlags() & FLAG_TRANSLUCENT) != 0; if (isOpenOrCloseTransition && !isTranslucent) { if (isOpenOrCloseTransition && !isTranslucent && wallpaperTransit == WALLPAPER_TRANSITION_NONE) { // Use the overview background as the background for the animation // Use the overview background as the background for the animation final Context uiContext = ActivityThread.currentActivityThread() final Context uiContext = ActivityThread.currentActivityThread() .getSystemUiContext(); .getSystemUiContext(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/transition/DefaultTransitionHandler.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -417,7 +417,8 @@ public class DefaultTransitionHandler implements Transitions.TransitionHandler { || type == TRANSIT_TO_FRONT || type == TRANSIT_TO_FRONT || type == TRANSIT_TO_BACK; || type == TRANSIT_TO_BACK; final boolean isTranslucent = (change.getFlags() & FLAG_TRANSLUCENT) != 0; final boolean isTranslucent = (change.getFlags() & FLAG_TRANSLUCENT) != 0; if (isOpenOrCloseTransition && !isTranslucent) { if (isOpenOrCloseTransition && !isTranslucent && wallpaperTransit == WALLPAPER_TRANSITION_NONE) { // Use the overview background as the background for the animation // Use the overview background as the background for the animation final Context uiContext = ActivityThread.currentActivityThread() final Context uiContext = ActivityThread.currentActivityThread() .getSystemUiContext(); .getSystemUiContext(); Loading