am b8ee636a: am 324cfc54: Merge "Accessibility layer in inconsistent state after running UI test automation tests." into jb-mr1-dev
* commit 'b8ee636a864577c08a53bf4b1ba8120d952eb5d8': Accessibility layer in inconsistent state after running UI test automation tests.
This commit is contained in:
@@ -558,8 +558,9 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
|
||||
public void unregisterUiTestAutomationService(IAccessibilityServiceClient serviceClient) {
|
||||
synchronized (mLock) {
|
||||
// Automation service is not bound, so pretend it died to perform clean up.
|
||||
if (mUiAutomationService != null
|
||||
&& mUiAutomationService.mServiceInterface == serviceClient) {
|
||||
if (mUiAutomationService != null && mUiAutomationService.mServiceInterface != null
|
||||
&& serviceClient != null && mUiAutomationService.mServiceInterface
|
||||
.asBinder() == serviceClient.asBinder()) {
|
||||
mUiAutomationService.binderDied();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user