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

Commit faddd904 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: f6a9b172 am: c48cfa62

Change-Id: Icf9e63b523e4d2f776de93b3d7605778e7b82e26
parents afb7e898 c48cfa62
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);
                }
            }
        }