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

Commit ea6b298c authored by Sumedh Sen's avatar Sumedh Sen Committed by Android (Google) Code Review
Browse files

Merge "Ignore exception if already unbound from service" into main

parents c9a43b52 6874cd56
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -212,7 +212,12 @@ final class InstantAppResolverConnection implements DeathRecipient {
                if (DEBUG_INSTANT) {
                if (DEBUG_INSTANT) {
                    Slog.i(TAG, "[" + token + "] Previous connection never established; rebinding");
                    Slog.i(TAG, "[" + token + "] Previous connection never established; rebinding");
                }
                }
                try {
                    mContext.unbindService(mServiceConnection);
                    mContext.unbindService(mServiceConnection);
                } catch (Exception e) {
                    Slog.e(TAG, "[" + token + "] Service already unbound", e);
                }

            }
            }
            if (DEBUG_INSTANT) {
            if (DEBUG_INSTANT) {
                Slog.v(TAG, "[" + token + "] Binding to instant app resolver");
                Slog.v(TAG, "[" + token + "] Binding to instant app resolver");