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

Commit 6358e5d1 authored by Artem Iglikov's avatar Artem Iglikov
Browse files

Removed unused variables in PerformBackupTask#finalizeBackup()

The unused variables got left behind after changes in ag/1841867.

This replicates ag/2077691 in RefactoredBackupManagerService.

Bug: 35994670
Test: it builds
Change-Id: Ic28719dafb83542d7e4c73cb48508d6792d10174
parent f6d3c197
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3102,13 +3102,6 @@ public class RefactoredBackupManagerService implements BackupManagerServiceInter
            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();