commit | bfec974f591eeca5b1a174d8ef5312d3fcdad130 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Fri Sep 03 10:27:51 2021 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Fri Sep 03 11:10:05 2021 -0700 |
tree | 8024839155314410a7b473d5f2f9c39a96e9f345 | |
parent | bd42a9c12d38a3a1d791f0e61d7a0a65e98b68e1 [diff] |
Do not trigger PiP on tapping on TaskView Regression from ag/15158868, we should not send onUserLeaveHint on tapping on the app icon in Recents / Overview. Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fr0fdecPEned7rMjgdWhCQ Bug: 198682451 Test: manual, tap on app icon in Recents, see video Change-Id: I66888a75eec30d7e8ba7e09059399381516812ac
diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 8a20da6..0e6c0fd 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java
@@ -838,6 +838,7 @@ RecentsView recentsView = getRecentsView(); recentsView.switchToScreenshot( () -> recentsView.finishRecentsAnimation(true /* toRecents */, + false /* shouldPip */, this::showTaskMenu)); } else { showTaskMenu();