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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11835320

Change-Id: Ia21649cd044877550f528681f47a890f08e9e85c
This commit is contained in:
Matt Casey
2020-06-11 17:37:40 +00:00
committed by Automerger Merge Worker

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;