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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user