From 3294b829ca556ff57d1fc46e19c63edd1d27e348 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Fri, 29 May 2020 14:08:13 +1000 Subject: [PATCH] Turn comment into TODO --- .../securesms/jobs/LocalBackupJob.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/org/thoughtcrime/securesms/jobs/LocalBackupJob.java b/src/org/thoughtcrime/securesms/jobs/LocalBackupJob.java index dcb2e5d461..0e750d8a18 100644 --- a/src/org/thoughtcrime/securesms/jobs/LocalBackupJob.java +++ b/src/org/thoughtcrime/securesms/jobs/LocalBackupJob.java @@ -5,15 +5,13 @@ import android.Manifest; import android.support.annotation.NonNull; import org.thoughtcrime.securesms.backup.BackupPassphrase; -import org.thoughtcrime.securesms.jobmanager.Data; -import org.thoughtcrime.securesms.jobmanager.Job; -import org.thoughtcrime.securesms.logging.Log; - -import network.loki.messenger.R; import org.thoughtcrime.securesms.backup.FullBackupExporter; import org.thoughtcrime.securesms.crypto.AttachmentSecretProvider; import org.thoughtcrime.securesms.database.DatabaseFactory; import org.thoughtcrime.securesms.database.NoExternalStorageException; +import org.thoughtcrime.securesms.jobmanager.Data; +import org.thoughtcrime.securesms.jobmanager.Job; +import org.thoughtcrime.securesms.logging.Log; import org.thoughtcrime.securesms.notifications.NotificationChannels; import org.thoughtcrime.securesms.permissions.Permissions; import org.thoughtcrime.securesms.service.GenericForegroundService; @@ -26,6 +24,8 @@ import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; +import network.loki.messenger.R; + public class LocalBackupJob extends BaseJob { public static final String KEY = "LocalBackupJob"; @@ -66,7 +66,9 @@ public class LocalBackupJob extends BaseJob { context.getString(R.string.LocalBackupJob_creating_backup), NotificationChannels.BACKUPS, R.drawable.ic_launcher_foreground); -// maybe create a new backup symbol like ic_signal_backup + + // TODO: Maybe create a new backup icon like ic_signal_backup? + try { String backupPassword = BackupPassphrase.get(context); File backupDirectory = StorageUtil.getBackupDirectory();