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

Commit 4ec7b5c3 authored by ryanlwlin's avatar ryanlwlin
Browse files

DO NOT MERGE: Map TYPE_TRUSTED_APPLICATION_OVERLAY to system window type for A11y

TYPE_TRUSTED_APPLICATION_OVERLAY is a system window type used in
Bubble. We map it to system window type for AccesibiltiyWindowInfo

Bug: 158066152
Test: Enable bubble window and observe its type of
AccessibilityWindowInfo

Change-Id: I597d360a79fc61dbf4a3d713004272d33d40e576
parent 38dbc979
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -725,7 +725,8 @@ public class AccessibilityWindowManager {
                case WindowManager.LayoutParams.TYPE_SYSTEM_ERROR:
                case WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY:
                case WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY:
                case WindowManager.LayoutParams.TYPE_SCREENSHOT: {
                case WindowManager.LayoutParams.TYPE_SCREENSHOT:
                case WindowManager.LayoutParams.TYPE_TRUSTED_APPLICATION_OVERLAY: {
                    return AccessibilityWindowInfo.TYPE_SYSTEM;
                }