OSDN Git Service

The touch exploration capability is dynamically granted pre-JellyBeanMR2.
authorSvetoslav <svetoslavganov@google.com>
Wed, 24 Apr 2013 21:51:29 +0000 (14:51 -0700)
committerSvetoslav <svetoslavganov@google.com>
Wed, 24 Apr 2013 21:59:04 +0000 (14:59 -0700)
commit11adf6dc2438260c3e0d79cc189bcb4f6f15e9f4
tree80a2ae3f97aaa2e9583d5e3750e4ec6c6f1184b8
parent4c78306617dd67b92fdf19101c5dfde4e21172d9
The touch exploration capability is dynamically granted pre-JellyBeanMR2.

Since the enable touch exploration capability is dynamically granted by
the user for apps targeting pre-JellybeanMR2 API level, we have to properly
update the accessibility service info for that service and also avoid
caching copies of the service info.

bug:8633951

Change-Id: I83dd1c852706ec55d40cda7209ad842889fb970a
core/java/android/accessibilityservice/AccessibilityServiceInfo.java
core/java/android/app/UiAutomationConnection.java
services/java/com/android/server/accessibility/AccessibilityManagerService.java