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

Commit 5041f560 authored by Issei Suzuki's avatar Issei Suzuki Committed by Automerger Merge Worker
Browse files

Merge "Make sure to call onTasksAppeared when app transiton is handled." into...

Merge "Make sure to call onTasksAppeared when app transiton is handled." into tm-qpr-dev am: 64d6acd7

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



Change-Id: Ia5b6e4dda2b7917ae9f7ea277a196f25dc20cd81
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b4f57415 64d6acd7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1032,8 +1032,12 @@ public class AppTransitionController {
    private void applyAnimations(ArraySet<ActivityRecord> openingApps,
            ArraySet<ActivityRecord> closingApps, @TransitionOldType int transit,
            LayoutParams animLp, boolean voiceInteraction) {
        final RecentsAnimationController rac = mService.getRecentsAnimationController();
        if (transit == WindowManager.TRANSIT_OLD_UNSET
                || (openingApps.isEmpty() && closingApps.isEmpty())) {
            if (rac != null) {
                rac.sendTasksAppeared();
            }
            return;
        }

@@ -1071,7 +1075,6 @@ public class AppTransitionController {
                voiceInteraction);
        applyAnimations(closingWcs, closingApps, transit, false /* visible */, animLp,
                voiceInteraction);
        final RecentsAnimationController rac = mService.getRecentsAnimationController();
        if (rac != null) {
            rac.sendTasksAppeared();
        }