Make sure to call onTasksAppeared when app transiton is handled.
Bug: 246340474
Test: manual.
1. start an activity which request permission.
1. quick switch to other task, and moves back to the previous task
several times.
1. check navbar is dispayed and touch works.
Change-Id: Ic698ebd35ac1bf5b4b471c080c11ef571d18a650
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user