mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Disallow scrolling if workspace is in transition." into ub-launcher3-burnaby-polish
am: ac929f4ad8
* commit 'ac929f4ad80fabeddfae51e30ec5d7ff434652c8':
Disallow scrolling if workspace is in transition.
This commit is contained in:
@@ -1328,6 +1328,13 @@ public class Workspace extends PagedView
|
||||
mWallpaperOffset.syncWithScroll();
|
||||
}
|
||||
|
||||
@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.
|
||||
|
||||
Reference in New Issue
Block a user