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

Commit 154bf5eb authored by Danny Wang's avatar Danny Wang Committed by Android (Google) Code Review
Browse files

Merge "autoclick: Fix scroll panel gets hidden behind the Shelf" into main

parents d2d7f63b 50ca28f7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -285,7 +285,8 @@ public class AutoclickScrollPanel {
        layoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY;
        layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
        layoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;
        layoutParams.setFitInsetsTypes(WindowInsets.Type.statusBars());
        layoutParams.setFitInsetsTypes(
                WindowInsets.Type.statusBars() | WindowInsets.Type.navigationBars());
        layoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
        layoutParams.format = PixelFormat.TRANSLUCENT;
        layoutParams.setTitle(AutoclickScrollPanel.class.getSimpleName());