summaryrefslogtreecommitdiffstats
path: root/services/java/com/android
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-08-15 22:13:00 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-08-15 22:13:03 -0700
commit8631701bb770f3a4e3b2a139dc282f2244fe86e6 (patch)
treeffef399c08cc65408e31acc80c8f5dcbe0a1b2dc /services/java/com/android
parent2d9063bc705aae7ef4cc90206ece03d4caeefba7 (diff)
downloadframeworks_base-8631701bb770f3a4e3b2a139dc282f2244fe86e6.zip
frameworks_base-8631701bb770f3a4e3b2a139dc282f2244fe86e6.tar.gz
frameworks_base-8631701bb770f3a4e3b2a139dc282f2244fe86e6.tar.bz2
Allow enabled accessibility service to toggle tocuh exploration after an upgrade to JellyBean.
1. Before JellyBean touch exploration was a global setting controlled by the user via the UI. However, if the enabled accessibility services do not handle touch exploration mode, enabling it makes no sense. Therefore, in JellyBean the services request touch exploration mode and the user is presented with a dialog to allow that and if she does we store that in the database. As a result of the above change a user that has enabled accessibility, touch exploration, and some accessibility services running a pre-JellyBean system version may lose touch exploration state, thus rendering the device useless unless sighted help is provided, since the enabled service(s) are not in the list of services to which the user granted a permission to put the device in touch explore mode. The fix is during a database upgrade to allow allow all enabled accessibility services to toggle touch exploration provided accessibility and touch exploration are enabled and no services can toggle touch exploration. Note that the user has already manually enabled the services and touch exploration which means the she has given consent to have these services work in touch exploration mode bug:6996354 Change-Id: I0af2dc578cc4fbcc90043341035163b876978ab2
Diffstat (limited to 'services/java/com/android')
0 files changed, 0 insertions, 0 deletions