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

Commit 7e744dfc authored by Chris Tate's avatar Chris Tate Committed by Android Git Automerger
Browse files

am 803b73a2: am f9f837fa: am 6613ec44: am 403e22b9: am 751a96a0: Merge "Don\'t...

am 803b73a2: am f9f837fa: am 6613ec44: am 403e22b9: am 751a96a0: Merge "Don\'t redundantly call transport.finishRestore()" into mnc-dev

* commit '803b73a2':
  Don't redundantly call transport.finishRestore()
parents 26c60581 803b73a2
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -9536,17 +9536,9 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF
            public void run() {
                // clean up the session's bookkeeping
                synchronized (mSession) {
                    try {
                        if (mSession.mRestoreTransport != null) {
                            mSession.mRestoreTransport.finishRestore();
                        }
                    } catch (Exception e) {
                        Slog.e(TAG, "Error in finishRestore", e);
                    } finally {
                    mSession.mRestoreTransport = null;
                    mSession.mEnded = true;
                }
                }

                // clean up the BackupManagerImpl side of the bookkeeping
                // and cancel any pending timeout message