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

Commit 7bccbef7 authored by Tobias Lindskog's avatar Tobias Lindskog Committed by android-build-merger
Browse files

Merge "Catch double unbind of dead service" am: 03cdc95f

am: e0d33bc3

Change-Id: Id994365fa971ecb722d4314b436e2c2bcacf3bf8
parents fdb30f53 e0d33bc3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -926,7 +926,11 @@ abstract public class ManagedServices {
                Slog.v(TAG, "    disconnecting old " + getCaption() + ": " + info.service);
                removeServiceLocked(i);
                if (info.connection != null) {
                    try {
                        mContext.unbindService(info.connection);
                    } catch (IllegalArgumentException e) {
                        Slog.e(TAG, "failed to unbind " + name, e);
                    }
                }
            }
        }