summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorQasid Ahmad Sadiq <qasid@google.com>2019-04-12 21:56:24 +0800
committerQasid Ahmad Sadiq <qasid@google.com>2019-04-12 22:09:50 +0800
commitd98ceddda10f4bee77b3e0a7902c7d630626ce17 (patch)
treeb3d12e44b59592263a18000a27c702f5f9d3f018 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3ba6ace87c8c0bfdc193f4f677f131cad2bd2e70 (diff)
Make sure focused window is tracked by accessibility even if it is obscured.
Although, I don't think the an obscured focused window should be reported, Talkback treats untracked/obscured windows or "invisible windows" as IMEs. When it WINDOW_STATE_CHANGED events from these windows, it will always announce it. So without this fix, the serioes of window events that are sent from a now obscured window, that are sent in transition, are all announced. Ideally, we can get rid of that hack, because it was initially made to address a race condition that is already fixed. But gBoard, and probably a few other keyboards, would regress because they send WINDOW_STATE_CHANGE events to announce to the user the keyboard is hidden. In our next release, we should probably get rid of the Talkback hack, get keyboards to use the correct accessibility semantics, and also make sure obscured windows aren't spamming services with Events. Change-Id: I70b8a2ed3c37ca2613f453254ec33980580409c8 Fix: 123958978 Test: The bug no longer reproduces. IME announcements are made as expected, CTSAccessibility* all pass.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions