Add new TYPE_WINDOW_CONTROL API to AccessibilityWindowInfo
To allow a11y services to interact with desktop windows, we need a way to detect a desktop window. This new type is meant to identify windows which can control other parent windows, in this case, the WindowDecoration for each desktop window's app bar.
Bug: 320445550
Flag: android.view.accessibility.add_type_window_control
Test: atest CtsAccessibilityServiceTestCases
Test: atest WindowInfoTest
Change-Id: I02dd6591481dbf8b7ade57b7379b8f8f8af38598
3 files changed