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

Commit ad1a19d9 authored by Winson Chung's avatar Winson Chung
Browse files

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

This reverts commit 4ec7b5c3.

Bug: 196389741
Test: Ensure PIP windows are trusted overlays

Change-Id: I49477ffd489ecbc969ab9b9310c2344ab03280e8
(cherry picked from commit 0cf0d420)
parent 377f1097
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -725,8 +725,7 @@ 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_TRUSTED_APPLICATION_OVERLAY: {
                case WindowManager.LayoutParams.TYPE_SCREENSHOT: {
                    return AccessibilityWindowInfo.TYPE_SYSTEM;
                }