Merge "Removed unused variables in PerformBackupTask#finalizeBackup()" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce7f931793
@@ -3109,13 +3109,6 @@ public class BackupManagerService {
|
||||
if (!mCancelAll && mStatus == BackupTransport.TRANSPORT_OK &&
|
||||
mPendingFullBackups != null && !mPendingFullBackups.isEmpty()) {
|
||||
Slog.d(TAG, "Starting full backups for: " + mPendingFullBackups);
|
||||
CountDownLatch latch = new CountDownLatch(1);
|
||||
String[] fullBackups =
|
||||
mPendingFullBackups.toArray(new String[mPendingFullBackups.size()]);
|
||||
PerformFullTransportBackupTask task =
|
||||
new PerformFullTransportBackupTask(/*fullBackupRestoreObserver*/ null,
|
||||
fullBackups, /*updateSchedule*/ false, /*runningJob*/ null, latch,
|
||||
mObserver, mMonitor, mUserInitiated);
|
||||
// Acquiring wakelock for PerformFullTransportBackupTask before its start.
|
||||
mWakelock.acquire();
|
||||
(new Thread(mFullBackupTask, "full-transport-requested")).start();
|
||||
|
||||
Reference in New Issue
Block a user