Merge "Stylus shouldnt trigger gestures during handwriting"
This commit is contained in:
@@ -32,11 +32,10 @@ final class HandwritingEventReceiverSurface {
|
||||
public static final String TAG = HandwritingEventReceiverSurface.class.getSimpleName();
|
||||
static final boolean DEBUG = HandwritingModeController.DEBUG;
|
||||
|
||||
// Place the layer below the highest layer to place it under gesture monitors. If the surface
|
||||
// is above gesture monitors, then edge-back and swipe-up gestures won't work when this surface
|
||||
// is intercepting.
|
||||
// Place the layer at the highest layer so stylus cannot trigger gesture monitors
|
||||
// (e.g. navigation bar, edge-back, etc) while handwriting is ongoing.
|
||||
// TODO(b/217538817): Specify the ordering in WM by usage.
|
||||
private static final int HANDWRITING_SURFACE_LAYER = Integer.MAX_VALUE - 1;
|
||||
private static final int HANDWRITING_SURFACE_LAYER = Integer.MAX_VALUE;
|
||||
|
||||
private final InputWindowHandle mWindowHandle;
|
||||
private final InputChannel mClientChannel;
|
||||
|
||||
Reference in New Issue
Block a user