diff options
author | Tony <twickham@google.com> | 2019-06-14 20:26:12 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2019-06-18 13:41:08 -0700 |
commit | 32cb616fab1ad495968d1eadd503a61b8bf3db35 (patch) | |
tree | c34099791eaea36a725233b55d054e8f5b0efe8f /quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java | |
parent | e1abaa64c25fdc9841f5cbeff2647ff4f95ac255 (diff) | |
download | android_packages_apps_Trebuchet-32cb616fab1ad495968d1eadd503a61b8bf3db35.tar.gz android_packages_apps_Trebuchet-32cb616fab1ad495968d1eadd503a61b8bf3db35.tar.bz2 android_packages_apps_Trebuchet-32cb616fab1ad495968d1eadd503a61b8bf3db35.zip |
Fix bugs with hotseat in overview
- Allow touches to go through recents to the hotseat.
- Translate the hotseat with the all apps shelf when swiping
up in background app state.
Bug: 135222111
Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
Diffstat (limited to 'quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java')
-rw-r--r-- | quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java index 9058e7eda..a8987a3d4 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/views/RecentsView.java @@ -521,6 +521,10 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl // Do not let touch escape to siblings below this view. + return isHandlingTouch() || shouldStealTouchFromSiblingsBelow(ev); + } + + protected boolean shouldStealTouchFromSiblingsBelow(MotionEvent ev) { return true; } |