Merge "Forcefully move focused task to front when triggering the recents animation in 3-button nav" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3bc7b93ea5
@@ -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