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

Commit 5f7f252b authored by Christopher Tate's avatar Christopher Tate Committed by Christopher Tate
Browse files

Properly end full restore attempt if getNextFullRestoreDataChunk() fails

Don't just drop the error return on the floor and retry (forever!).

Change-Id: I5f0ef2d09ea286d813add69517f865e474341b43
parent f3e85b5b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7037,6 +7037,7 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF
                            // handling will deal properly with that.
                            Slog.e(TAG, "Error " + result + " streaming restore for "
                                    + mCurrentPackage.packageName);
                            status = result;
                        }
                    }
                    if (MORE_DEBUG) Slog.v(TAG, "Done copying to engine, falling through");