OSDN Git Service

Make AccessibilityService#disableSelf atomic.
authorPhil Weaver <pweaver@google.com>
Fri, 6 May 2016 15:32:38 +0000 (08:32 -0700)
committerPhil Weaver <pweaver@google.com>
Fri, 6 May 2016 15:57:12 +0000 (08:57 -0700)
commit19557de7676441a5e3f972b9dca128a2edb7a036
tree8728477b37d048770bd3ffb4cd11e68f99a92d9f
parentbd1708a19da3ae205c4da3f22d0682c9bd1f76fe
Make AccessibilityService#disableSelf atomic.

This API was using a oneway aidl call, which meant that the
service was disabled some time after the method returned. That
confused tests that were turning a service off during tearDown
and then turning it back on again in setUp.

Bug: 28621277

Change-Id: I75984df0613bdbb1bc876e2a15caf59106027337
core/java/android/accessibilityservice/IAccessibilityServiceConnection.aidl