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

Commit 04e1eca0 authored by Zimuzo Ezeozue's avatar Zimuzo Ezeozue Committed by Automerger Merge Worker
Browse files

Merge "Handle Context#unbindService exception" into rvc-dev am: 06e29c96 am:...

Merge "Handle Context#unbindService exception" into rvc-dev am: 06e29c96 am: 16d2cb74 am: e95fc2dc am: 109bd1e4

Change-Id: I8713efc27b3161fa8ae08ae6e675374397bf7c35
parents 7105fdac 109bd1e4
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -242,7 +242,13 @@ public final class StorageUserConnection {
            }

            if (oldConnection != null) {
                try {
                    mContext.unbindService(oldConnection);
                } catch (Exception e) {
                    // Handle IllegalArgumentException that may be thrown if the user is already
                    // stopped when we try to unbind
                    Slog.w(TAG, "Failed to unbind service", e);
                }
            }
        }