Merge "Add FLAG_ALT_FOCUSABLE_IM to screenshot window." into rvc-dev

This commit is contained in:
Matt Casey
2020-06-11 17:35:37 +00:00
committed by Android (Google) Code Review

View File

@@ -270,7 +270,8 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
| WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
| WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED,
| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
| WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
PixelFormat.TRANSLUCENT);
mWindowLayoutParams.setTitle("ScreenshotAnimation");
mWindowLayoutParams.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;