Merge \\"Don\\'t allow restore sessions during backups\\" into nyc-dev am: 9faaf5418a

am: ee5bc654a7

Change-Id: I9419a06ccc64b0927051416ddc734106d26c562a
This commit is contained in:
Chris Tate
2016-06-09 23:54:41 +00:00
committed by android-build-merger

View File

@@ -9849,7 +9849,11 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF
synchronized(this) {
if (mActiveRestoreSession != null) {
Slog.d(TAG, "Restore session requested but one already active");
Slog.i(TAG, "Restore session requested but one already active");
return null;
}
if (mBackupRunning) {
Slog.i(TAG, "Restore session requested but currently running backups");
return null;
}
mActiveRestoreSession = new ActiveRestoreSession(packageName, transport);