Merge "Forcefully move focused task to front when triggering the recents animation in 3-button nav" into tm-qpr-dev am: 3bc7b93ea5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18521813 Change-Id: Idb59db057d8a8d30d2d512888c81d50def129dfd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
5fa9598b11
@@ -235,6 +235,10 @@ public class OverviewCommandHelper {
|
||||
}
|
||||
};
|
||||
|
||||
RecentsView<?, ?> visibleRecentsView = activityInterface.getVisibleRecentsView();
|
||||
if (visibleRecentsView != null) {
|
||||
visibleRecentsView.moveFocusedTaskToFront();
|
||||
}
|
||||
if (mTaskAnimationManager.isRecentsAnimationRunning()) {
|
||||
cmd.mActiveCallbacks = mTaskAnimationManager.continueRecentsAnimation(gestureState);
|
||||
cmd.mActiveCallbacks.addListener(interactionHandler);
|
||||
|
||||
Reference in New Issue
Block a user