Merge "Prevent AllApps scroller activation in NORMAL state" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9de282c862
@@ -59,6 +59,14 @@ public class LauncherAllAppsContainerView extends AllAppsContainerView {
|
||||
return super.onInterceptTouchEvent(ev);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent ev) {
|
||||
if (!mLauncher.isInState(LauncherState.ALL_APPS)) {
|
||||
return false;
|
||||
}
|
||||
return super.onTouchEvent(ev);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setInsets(Rect insets) {
|
||||
super.setInsets(insets);
|
||||
|
||||
Reference in New Issue
Block a user