Allow touches on Workspace during transition from Overview

Previously we only allowed touches on the hotseat (due to it being
in the shelf in Overview); now we allow touches anywhere if we are
not in an overview state.

Test: enter overview, swipe up to home and scroll workspace or tap
a workspace icon during the transition

Bug: 169052350
Change-Id: I59ee695ba9cb6f5fddd8e41c5796cdba6b3d2112
This commit is contained in:
Tony Wickham
2020-09-21 11:47:40 -07:00
parent a85fa09885
commit ca23b981d9
2 changed files with 2 additions and 16 deletions

View File

@@ -1175,13 +1175,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
computeScrollHelper(false);
}
@Override
protected void determineScrollingStart(MotionEvent ev, float touchSlopScale) {
if (!isSwitchingState()) {
super.determineScrollingStart(ev, touchSlopScale);
}
}
@Override
public void announceForAccessibility(CharSequence text) {
// Don't announce if apps is on top of us.