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

Commit 62080d1b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Catch NoSuchElementException in SyncManager." into main

parents a48d9a0d 53f6e861
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2158,8 +2158,12 @@ public class SyncManager {
            }
            if (mBound) {
                mBound = false;
                try {
                    mLogger.log("unbindService for ", this);
                    mContext.unbindService(this);
                } catch (NoSuchElementException e) {
                    Slog.wtf(TAG, "Failed to unlink active sync adapter on close()", e);
                }
                try {
                    mBatteryStats.noteSyncFinish(mEventName, mSyncAdapterUid);
                } catch (RemoteException e) {