services/tests/servicestests/src/com/android/server/accessibility/KeyboardInterceptorTest.java
0 → 100644
+218
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If the volume keys are being pressed to enable or disable an accessibility service, the key events should not be dispatched to accessibility services. Bug: 62653966 Test: A11y CTS and unit tests. Adding a set of unit tests for the expanded KeyboardInterceptor. Also verified that the accessibility shortcut now works as designed with TalkBack. Change-Id: Iaea58a5bfe6748d4b9a033f5b957e78298881c40