Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16833122 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Remove FLAG_SPLIT_TOUCH from SystemUI

This is already the default (and only) behaviour, so this flag does not
need to be explicitly set.

Bug: 239934827
Test: presubmit
Flag: NONE removing flagged code
Change-Id: Idf6dbc772534fa3734ade0d906a515fb919da72e
parent cdb3faf8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -921,7 +921,6 @@ public class ScreenDecorations implements
                WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL,
                WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                        | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                        | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH
                        | WindowManager.LayoutParams.FLAG_SLIPPERY
                        | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
                        | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,
+1 −3
Original line number Diff line number Diff line
@@ -155,9 +155,7 @@ constructor(
                gravity = android.view.Gravity.TOP or android.view.Gravity.LEFT
                layoutInDisplayCutoutMode =
                    WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
                flags =
                    (Utils.FINGERPRINT_OVERLAY_LAYOUT_PARAM_FLAGS or
                        WindowManager.LayoutParams.FLAG_SPLIT_TOUCH)
                flags = Utils.FINGERPRINT_OVERLAY_LAYOUT_PARAM_FLAGS
                privateFlags =
                    WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY or
                        WindowManager.LayoutParams.PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION
+0 −1
Original line number Diff line number Diff line
@@ -1848,7 +1848,6 @@ public class NavigationBar extends ViewController<NavigationBarView> implements
                WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                        | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                        | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
                        | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH
                        | WindowManager.LayoutParams.FLAG_SLIPPERY,
                PixelFormat.TRANSLUCENT);
        lp.gravity = gravity;
+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ object ShadeWindowLayoutParams {
                LayoutParams.TYPE_NOTIFICATION_SHADE,
                LayoutParams.FLAG_NOT_FOCUSABLE or
                    LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING or
                    LayoutParams.FLAG_SPLIT_TOUCH or
                    LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH or
                    LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS,
                // Now that the notification shade encompasses the sliding panel and its
+0 −1
Original line number Diff line number Diff line
@@ -263,7 +263,6 @@ public class StatusBarWindowControllerImpl implements StatusBarWindowController
                height,
                WindowManager.LayoutParams.TYPE_STATUS_BAR,
                WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                        | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH
                        | WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS,
                PixelFormat.TRANSLUCENT);
        lp.privateFlags |= PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC;