Loading services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickIndicatorView.java +3 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,9 @@ public class AutoclickIndicatorView extends View { WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; layoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS; layoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS | WindowManager.LayoutParams.PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION | WindowManager.LayoutParams.PRIVATE_FLAG_NOT_MAGNIFIABLE; layoutParams.setFitInsetsTypes(WindowInsets.Type.statusBars()); layoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; layoutParams.format = PixelFormat.TRANSLUCENT; Loading Loading
services/accessibility/java/com/android/server/accessibility/autoclick/AutoclickIndicatorView.java +3 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,9 @@ public class AutoclickIndicatorView extends View { WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; layoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS; layoutParams.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS | WindowManager.LayoutParams.PRIVATE_FLAG_EXCLUDE_FROM_SCREEN_MAGNIFICATION | WindowManager.LayoutParams.PRIVATE_FLAG_NOT_MAGNIFIABLE; layoutParams.setFitInsetsTypes(WindowInsets.Type.statusBars()); layoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS; layoutParams.format = PixelFormat.TRANSLUCENT; Loading