diff options
| author | 2017-08-18 18:05:46 +0000 | |
|---|---|---|
| committer | 2017-08-18 18:05:46 +0000 | |
| commit | 7544eed3ce5422f1cf9b50bfd4c395db301e223d (patch) | |
| tree | 74ab768b8719cea1d41fdd01ebfa788346a05c2b | |
| parent | 44931559d0fd48ccfec4ffb63c13c939e23a06a4 (diff) | |
| parent | 563e4982a95d0f7f15555cd7599a2c050d21ad08 (diff) | |
Merge "Clean up binding list on error" into oc-mr1-dev
am: 563e4982a9
Change-Id: Id599274866a7686fa49f377c2911b6fba64201f5
| -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); } } |