Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d736cb88 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Merge "Clean up binding list on error" into oc-mr1-dev am: 563e4982

am: 7544eed3

Change-Id: I57d06b844fb6aea56fac300d334156daf1dbc7f9
parents fa305f4b 7544eed3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }