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

Skip to content
Commit a3a00c17 authored by Riley Jones's avatar Riley Jones
Browse files

Shortcut target migration and automated button mode switching

When switching from gesture navigation to navBar navigation,
All gesture targets are migrated to the software target list.
When switching from navBar to gesture, software targets are unchanged.

A11y button mode is changed in certain conditions
When in gesture navigation mode, button mode is always set to FAB.
When in navBar navigation mode, and there are >0 gesture targets and 0 software targets,
button mode is set to navBar.
There is no condition in which software targets are migrated to the gesture target list.

Test: atest AccessibilityManagerServiceTest, and verify behavior manually
Bug: 352165471
Flag: android.provider.a11y_standalone_gesture_enabled
Change-Id: I6adf818b532d5fb1951dd5588eccb446b3bd4783
parent d6575634
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