diff options
| author | 2017-08-18 17:55:46 +0000 | |
|---|---|---|
| committer | 2017-08-18 17:55:46 +0000 | |
| commit | 563e4982a95d0f7f15555cd7599a2c050d21ad08 (patch) | |
| tree | 4891d210e97602e2eb551ac90107e941e6d1852e | |
| parent | a528ee13bda12b516ecf37f74700f25170e77956 (diff) | |
| parent | 72b411778cfdbb519ea20ac3ce774ff23f114e45 (diff) | |
Merge "Clean up binding list on error" into oc-mr1-dev
| -rw-r--r-- | services/core/java/com/android/server/notification/ManagedServices.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/notification/ManagedServices.java b/services/core/java/com/android/server/notification/ManagedServices.java index beaddb4c72dd..d5d0250f82af 100644 --- a/services/core/java/com/android/server/notification/ManagedServices.java +++ b/services/core/java/com/android/server/notification/ManagedServices.java @@ -877,6 +877,7 @@ abstract public class ManagedServices { @Override public void onServiceDisconnected(ComponentName name) { + mServicesBinding.remove(servicesBindingTag); Slog.v(TAG, getCaption() + " connection lost: " + name); } }; @@ -889,6 +890,7 @@ abstract public class ManagedServices { return; } } catch (SecurityException ex) { + mServicesBinding.remove(servicesBindingTag); Slog.e(TAG, "Unable to bind " + getCaption() + " service: " + intent, ex); } } |