OSDN Git Service

Incorrect unbinding of accessibility services.
authorSvetoslav <svetoslavganov@google.com>
Sat, 23 Mar 2013 00:09:11 +0000 (17:09 -0700)
committerSvetoslav <svetoslavganov@google.com>
Sat, 23 Mar 2013 00:13:01 +0000 (17:13 -0700)
commitcefac5acc845bc0fd36cb2c7e9e0992ecda33230
treeec52886b547e6a15c7510e2156c1914beb3395a7
parent81cce37deda2bd097d245c4d54806a354971a97c
Incorrect unbinding of accessibility services.

If no accessibility services are enabled, we disable the
accessibility event firing to save resources. When the last
such services is disabled the system was not unbinding. As
a result the user was seeing the touch exploration enable
dialog when the service that requested it is disabled. Also
there is one service the system is bound to that is not used.

bug:8439191

Change-Id: I6f37f2573a815bfb29870298aa0abbb1fa105588
services/java/com/android/server/accessibility/AccessibilityManagerService.java