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

Commit 42d7f747 authored by Yongshun Liu's avatar Yongshun Liu
Browse files

a11y: Link cursor following mode backend with user preference

This makes sure the cursor following mode value is populated to the
pointer motion event filter. It links the user preference with the
backend.

This also moves the pointer motion event filter from
`FullScreenMagnificationController` to `AccessibilityInputFilter`. The
reason is that we do not need one event filter per display, and it's
easier to manage at `AccessibilityInputFilter` level.

Bug: b/355503630
Bug: b/355727440
Flag: com.android.server.accessibility.enable_magnification_follows_mouse_with_pointer_motion_filter
Test: FrameworksServicesTests:com.android.server.accessibility.AccessibilityInputFilterTest
Test: FrameworksServicesTests:com.android.server.accessibility.AccessibilityManagerServiceTest
Test: FrameworksServicesTests:com.android.server.accessibility.AccessibilityUserStateTest
Test: FrameworksServicesTests:com.android.server.accessibility.magnification.FullScreenMagnificationControllerTest
Change-Id: I044e735b75db3452a3c3e016c1325783ddb8a667
parent 45dd543e
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