Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4736f15a authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Do not show animation background with wallpaper transition" into tm-dev...

Merge "Do not show animation background with wallpaper transition" into tm-dev am: dc19fc3b am: 4ddec89f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17665554



Change-Id: I74e624bbd367e5f573691f02c5424355f55a7b81
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 724d6a9d 4ddec89f
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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();