diff options
| author | 2011-01-11 15:04:40 -0800 | |
|---|---|---|
| committer | 2011-01-11 15:04:49 -0800 | |
| commit | 6f089b877e1c8f81bae719a4b185bcad412f275a (patch) | |
| tree | e7eb72e5032ce96ce599af7bba0f02699e3742c8 | |
| parent | 9fafe4e0ebab270591a505f1f07fd2e5489a16f7 (diff) | |
IAE: Service not registered: com.android.server.AccessibilityManagerService
bug:3331645
1. Let the binder the AccessibilityManagerService has obtained while connecting
to an accessibility services be garbage collected since when binding we will
will get in the on #onServiceConnected callback and it can be potentially
another instance.
Change-Id: I87aa5e5f741e2e54c72d3d0d396ac00eda5aeb5c
| -rw-r--r-- | services/java/com/android/server/AccessibilityManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/AccessibilityManagerService.java b/services/java/com/android/server/AccessibilityManagerService.java index 63be030b0556..04ae4901d74b 100644 --- a/services/java/com/android/server/AccessibilityManagerService.java +++ b/services/java/com/android/server/AccessibilityManagerService.java @@ -685,6 +685,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub */ public boolean unbind() { if (mService != null) { + mService = null; mContext.unbindService(this); mComponentNameToServiceMap.remove(mComponentName); mServices.remove(this); |