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

Commit 64eb92eb authored by Katie Dektar's avatar Katie Dektar
Browse files

[A11y] Magnification key handler checks if mag is active

Magnification key handler is installed when magnification is enabled,
so it steals key events whether or not magnification is active as
long as the correct keys were pressed. Adds a method to the callback
to check for magnification activated, so that key events are only
consumed when magnification is both enabled and activated.

Also adds a check that ctrl isn't held down with action and alt,
so that ctrl+action+alt+arrows doesn't get consumed.

Bug: b/410887351
Flag: EXEMPT bugfix
Test: atest MagnificationKeyHandlerTest and manual with TalkBack
Change-Id: Ief65b8b70138625148ee5254c318113174c6f0a5
parent ad562932
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