Turn comment into TODO

This commit is contained in:
nielsandriesse 2020-05-29 14:08:13 +10:00
parent 163548328c
commit 3294b829ca

View File

@ -5,15 +5,13 @@ import android.Manifest;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import org.thoughtcrime.securesms.backup.BackupPassphrase; 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.backup.FullBackupExporter;
import org.thoughtcrime.securesms.crypto.AttachmentSecretProvider; import org.thoughtcrime.securesms.crypto.AttachmentSecretProvider;
import org.thoughtcrime.securesms.database.DatabaseFactory; import org.thoughtcrime.securesms.database.DatabaseFactory;
import org.thoughtcrime.securesms.database.NoExternalStorageException; 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.notifications.NotificationChannels;
import org.thoughtcrime.securesms.permissions.Permissions; import org.thoughtcrime.securesms.permissions.Permissions;
import org.thoughtcrime.securesms.service.GenericForegroundService; import org.thoughtcrime.securesms.service.GenericForegroundService;
@ -26,6 +24,8 @@ import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.Locale; import java.util.Locale;
import network.loki.messenger.R;
public class LocalBackupJob extends BaseJob { public class LocalBackupJob extends BaseJob {
public static final String KEY = "LocalBackupJob"; public static final String KEY = "LocalBackupJob";
@ -66,7 +66,9 @@ public class LocalBackupJob extends BaseJob {
context.getString(R.string.LocalBackupJob_creating_backup), context.getString(R.string.LocalBackupJob_creating_backup),
NotificationChannels.BACKUPS, NotificationChannels.BACKUPS,
R.drawable.ic_launcher_foreground); 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 { try {
String backupPassword = BackupPassphrase.get(context); String backupPassword = BackupPassphrase.get(context);
File backupDirectory = StorageUtil.getBackupDirectory(); File backupDirectory = StorageUtil.getBackupDirectory();