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

Commit 403e22b9 authored by Chris Tate's avatar Chris Tate Committed by Android Git Automerger
Browse files

am 751a96a0: Merge "Don\'t redundantly call transport.finishRestore()" into mnc-dev

* commit '751a96a0':
  Don't redundantly call transport.finishRestore()
parents bd388372 751a96a0
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -9535,17 +9535,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