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

Skip to content
Commit 502de117 authored by Roy Chou's avatar Roy Chou
Browse files

chore(magnification): add magnification sysui connection state changed callback for cts tests

In accessibility magnification cts tests we need to ensure the
magnification system ui connection is ready for the coming tests.
Therefore in AccessibilityService#dispatchServiceConnected we add a
conditional magnification sysui connection state check, so if the
service find itself has capability to control magnification, it will
wait until the magnification sysui connection is ready then trigger
onServiceConnected callback.

The fix is gated with a bug-fix flag so we can verify it with rollout
process.

Bug: 337800504
Flag: ACONFIG android.view.accessibility.wait_magnification_system_ui_connection_to_notify_service_connected DEVELOPMENT
Test: pass build
      atest AccessibilityMagnificationTest
Change-Id: I3e38ba32515eadd8f5eac6aa5fd906eeb25e24c9
parent 29acc19f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment