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

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

Merge "Catch unbinding errors" into pi-dev am: 47335f6e

am: d296f55f

Change-Id: I46a17cbcde9e89eac3795ee930d1195f414edb10
parents 3de42cb3 d296f55f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -982,7 +982,11 @@ abstract public class ManagedServices {
                    Slog.w(TAG, getCaption() + " binding died: " + name);
                    synchronized (mMutex) {
                        mServicesBinding.remove(servicesBindingTag);
                        try {
                            mContext.unbindService(this);
                        } catch (IllegalArgumentException e) {
                            Slog.e(TAG, "failed to unbind " + name, e);
                        }
                        if (!mServicesRebinding.contains(servicesBindingTag)) {
                            mServicesRebinding.add(servicesBindingTag);
                            mHandler.postDelayed(new Runnable() {