diff options
author | ryanlwlin <ryanlwlin@google.com> | 2021-03-23 15:21:56 +0800 |
---|---|---|
committer | ryanlwlin <ryanlwlin@google.com> | 2021-04-01 13:03:48 +0800 |
commit | 49284c318dd574f0ff2388d6abac9459a312af72 (patch) | |
tree | cdd4755585280d2cfcd7d1240a6839449c18681b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8b23eff356fbd399466a3c6e62d1f69de0f3bfe1 (diff) |
update switch UI if display magnification request is from external
Display magnifier could be magipulated by public API. This request
should be treated as an user interaction. We should also update the
magnification button in such circumstance.
Besides, we also disable display magnification that is requested
by AccessibilityService when window magnification is enabled.
In the test part, we also verify the shorct trigged in full-screen
mode.
Bug: 179446412
Test: atest MagnificationControllerTest
manually Test: Use voice access to controll display magnifier
and chek if switch button is shown.
Change-Id: I729ea6fbf921ba6bd735c62198a2b8caee6ec4d7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions