diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-09-27 16:49:23 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-09-27 20:33:20 -0700 |
commit | 7befb7deb2ac15134b3bb190520cba19165d16dd (patch) | |
tree | bd9e29126bee26a5b2ddb02a6341506fe64e0d75 /include | |
parent | 5e9187a3cf2a33e559212004795e1278eb60da81 (diff) | |
download | frameworks_base-7befb7deb2ac15134b3bb190520cba19165d16dd.zip frameworks_base-7befb7deb2ac15134b3bb190520cba19165d16dd.tar.gz frameworks_base-7befb7deb2ac15134b3bb190520cba19165d16dd.tar.bz2 |
Global gesture to toggle Accessibility system-wide.
1. This change adds a global gesture for enabling accessibility.
To enable this gesture the user has to allow it from the
accessibility settings or use the setup wizard to enable
accessibility. When the global gesture is enabled the user
can long press on power to bring the global actions dialog
and then hold with two fingers for a few seconds to enable
accessibility. The appropriate feedback is also provided.
2. The global gesture is writing directly into the settings for
the current user if performed when the keyguard is not on. If
the keygaurd is on and the current user has no accessibility
enabled, the gesture will temporary enable accessibility
for the current user, i.e. no settings are changed, to allow
the blind user to log into his account. As soon as a user
switch happens the new user settings are inherited. If no
user change happens after temporary enabling accessibility
the temporary changes will be undone when the keyguard goes
away and the device will works as expected by the current user.
bug:6171929
3. The initialization code for the owner was not executed due
to a redundant check, thus putting the accessibility layer in
an inconsistent state which breaks pretty much everything.
bug:7240414
Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions