Merge "Removed unused variables in PerformBackupTask#finalizeBackup()" into oc-dev

am: ce7f931793

Change-Id: I40667aac08e8c6c5d2e31640a4667ea577cc8889
This commit is contained in:
Michal Karpinski
2017-04-07 14:51:29 +00:00
committed by android-build-merger

View File

@@ -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();