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

Skip to content
Commit b9cb014d authored by Yabin Huang's avatar Yabin Huang
Browse files

Modify A11yMS to satisfy level-1 compatibility for MUMD

- Modify system action registration and unregistration to work
  only for the driver.
- Track only the display of the driver when tracking windows
- Modify notifyAccessibilityButtonClicked,
  notifyAccessibilityButtonVisibilityChanged to work only for
  the driver.
- Block the registration of passenger's AccessibilityDisplayProxy.
- Modify UiAutomation#performGlobalAction to work only for the driver.
- Modify UiAutomation#setAnimationScale to work only for the driver.

Bug: 346195390
Test: atest CtsAccessibilityServiceTestCases
      atest FrameworksServicesTests
      atest CtsUiAutomationTestCases
      atest --user-type secondary_user_on_secondary_display CtsUiAutomationTestCases
Flag: EXEMPT bug fix
(cherrypick of https://partner-android-review.git.corp.google.com/c/platform/frameworks/base/+/2841242)

Change-Id: I970732e3a581275d4c4ca5e95c1c3235b27d32c1
parent 8642a8db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment