Loading packages/SystemUI/src/com/android/systemui/statusbar/gesture/GesturePointerEventListener.kt +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ constructor(context: Context, gestureDetector: GesturePointerEventDetector) : Co mSwipeDistanceThreshold = r.getDimensionPixelSize(R.dimen.system_gestures_distance_threshold) val display = DisplayManagerGlobal.getInstance().getRealDisplay(mContext.displayId) val displayCutout = display.cutout val displayCutout = display?.cutout if (displayCutout != null) { // Expand swipe start threshold such that we can catch touches that just start beyond // the notch area Loading services/core/java/com/android/server/wm/SystemGesturesPointerEventListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ class SystemGesturesPointerEventListener implements PointerEventListener { final Display display = DisplayManagerGlobal.getInstance() .getRealDisplay(Display.DEFAULT_DISPLAY); final DisplayCutout displayCutout = display.getCutout(); final DisplayCutout displayCutout = display != null ? display.getCutout() : null; if (displayCutout != null) { // Expand swipe start threshold such that we can catch touches that just start beyond // the notch area Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/gesture/GesturePointerEventListener.kt +1 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ constructor(context: Context, gestureDetector: GesturePointerEventDetector) : Co mSwipeDistanceThreshold = r.getDimensionPixelSize(R.dimen.system_gestures_distance_threshold) val display = DisplayManagerGlobal.getInstance().getRealDisplay(mContext.displayId) val displayCutout = display.cutout val displayCutout = display?.cutout if (displayCutout != null) { // Expand swipe start threshold such that we can catch touches that just start beyond // the notch area Loading
services/core/java/com/android/server/wm/SystemGesturesPointerEventListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ class SystemGesturesPointerEventListener implements PointerEventListener { final Display display = DisplayManagerGlobal.getInstance() .getRealDisplay(Display.DEFAULT_DISPLAY); final DisplayCutout displayCutout = display.getCutout(); final DisplayCutout displayCutout = display != null ? display.getCutout() : null; if (displayCutout != null) { // Expand swipe start threshold such that we can catch touches that just start beyond // the notch area Loading