Merge "Do not send onUserLeaveHint on overview actions" into sc-dev

This commit is contained in:
Hongwei Wang
2021-05-18 06:19:07 +00:00
committed by Android (Google) Code Review

View File

@@ -215,6 +215,7 @@ public class TaskMenuView extends AbstractFloatingView implements OnScrollChange
RecentsView recentsView = mTaskView.getRecentsView();
recentsView.switchToScreenshot(null,
() -> recentsView.finishRecentsAnimation(true /* toRecents */,
false /* shouldPip */,
() -> menuOption.onClick(view)));
} else {
menuOption.onClick(view);