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

Skip to content
Commit 97550d06 authored by Roy Chou's avatar Roy Chou
Browse files

fix(#Magnification): magnification gesture handler might not be activated after config transition

If the magnification mode transition is triggered by magnification config, the AccessibilityManagerService would not be notified. It might cause some issues.
1. The AccessibilityUserState would stay in old/wrong mode not same as current mode
2. the AccessibilityInputFilter would not be notified, and thus it would not switch to the corresponding magnification gesture handler

Therefore, in MagnificationController#transitionMagnificationConfigMode, we adjust to notify the service the mode changed, and the service would notify the userState and inputFilter as its original behavior.

Bug: 278031878
Test: manually
      atest MagnificationControllerTest
Change-Id: I7d567873b35eefd7a5a515cb7692d48413a7dd9d
parent c01c5f88
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