diff options
| author | Matt Casey <mrcasey@google.com> | 2020-05-13 14:01:41 -0400 |
|---|---|---|
| committer | Matt Casey <mrcasey@google.com> | 2020-05-13 14:01:41 -0400 |
| commit | 834c0f8ea4d41cd6180c8edab0204559174dd8a0 (patch) | |
| tree | 2f37611a8c7a6506d9af6a88f56ca742f63c22c8 /core/java | |
| parent | 1de67aa2319af0793a4b3ac564d7e3ed9cce1298 (diff) | |
Allow WindowManager.TYPE_SCREENSHOT to be focusable
Pre-R, the screenshot window was used just for screenshot animation. In
R, the window is also hosting tappable screenshot actions, which require
focus.
This change modifies TYPE_SCREENSHOT to no longer force it to be
unfocusable.
Test: Verify that screenshot window UI elements can work with talkback
and accessibility scanner.
Bug: 153517161
Bug: 152583784
Change-Id: If81d9f94dff801c3483a2d834e692b4c77d80d7b
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/WindowManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index 8cb05da93b7f..76071278edf8 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -1162,7 +1162,7 @@ public interface WindowManager extends ViewManager { /** * Window type: shows directly above the keyguard. The layer is - * reserved for screenshot region selection. These windows must not take input focus. + * reserved for screenshot animation, region selection and UI. * In multiuser systems shows only on the owning user's window. * @hide */ |
