DO NOT MERGE: Map TYPE_TRUSTED_APPLICATION_OVERLAY to system window type for A11y am: 4ec7b5c3fb am: 8c8116eefd

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

Change-Id: I525ce904f218cd2f24424f83803171c105569ff3
This commit is contained in:
ryanlwlin
2020-06-05 01:55:49 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}