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

Commit 6c2af1af authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Catch double unbind of dead service" into pi-dev

parents 12a6cd74 33ecd1bc
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);
                    }
                }
            }
        }