[-1] Show toast when user trys to swipe to -1 on extreme battery saver mode
Fix: 355485335 Flag: com.android.launcher3.use_activity_overlay Test: manual - record a video Change-Id: I79a3ece2fb2c0d1eddac0e4f91274ffe222e317f
This commit is contained in:
@@ -1123,6 +1123,11 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
return super.onTouchEvent(ev);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDisallowSwipeToMinusOnePage() {
|
||||
mLauncher.getOverlayManager().onDisallowSwipeToMinusOnePage();
|
||||
}
|
||||
|
||||
/**
|
||||
* Called directly from a CellLayout (not by the framework), after we've been added as a
|
||||
* listener via setOnInterceptTouchEventListener(). This allows us to tell the CellLayout
|
||||
|
||||
Reference in New Issue
Block a user