From a424dee9b07b13fba6710f6b7058f20c9aa1f15d Mon Sep 17 00:00:00 2001 From: Distopico Vegan Date: Tue, 30 Oct 2018 22:09:09 -0500 Subject: [PATCH] rename additional strings --- app/src/main/java/org/dystopia/email/FragmentSetup.java | 2 +- app/src/main/java/org/dystopia/email/Helper.java | 2 +- app/src/main/java/org/dystopia/email/ServiceSynchronize.java | 3 +-- app/src/main/res/values/strings.xml | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/org/dystopia/email/FragmentSetup.java b/app/src/main/java/org/dystopia/email/FragmentSetup.java index 2c81421d..5edb0d52 100644 --- a/app/src/main/java/org/dystopia/email/FragmentSetup.java +++ b/app/src/main/java/org/dystopia/email/FragmentSetup.java @@ -485,7 +485,7 @@ public class FragmentSetup extends FragmentEx { Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT); intent.addCategory(Intent.CATEGORY_OPENABLE); intent.setType("*/*"); - intent.putExtra(Intent.EXTRA_TITLE, "fairemail_backup_" + + intent.putExtra(Intent.EXTRA_TITLE, "simpleemail_backup_" + new SimpleDateFormat("yyyyMMdd").format(new Date().getTime()) + ".json"); return intent; } diff --git a/app/src/main/java/org/dystopia/email/Helper.java b/app/src/main/java/org/dystopia/email/Helper.java index 5a5c006e..18373f18 100644 --- a/app/src/main/java/org/dystopia/email/Helper.java +++ b/app/src/main/java/org/dystopia/email/Helper.java @@ -66,7 +66,7 @@ import androidx.browser.customtabs.CustomTabsIntent; import static android.os.Process.THREAD_PRIORITY_BACKGROUND; public class Helper { - static final String TAG = "fairemail"; + static final String TAG = "simpleemail"; static final int JOB_DAILY = 1001; diff --git a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java index 1551cbe9..d769b4ef 100644 --- a/app/src/main/java/org/dystopia/email/ServiceSynchronize.java +++ b/app/src/main/java/org/dystopia/email/ServiceSynchronize.java @@ -577,8 +577,7 @@ public class ServiceSynchronize extends LifecycleService { Properties props = MessageHelper.getSessionProperties(account.auth_type, account.insecure); final Session isession = Session.getInstance(props, null); isession.setDebug(debug); - // adb -t 1 logcat | grep "fairemail\|System.out" - + final IMAPStore istore = (IMAPStore) isession.getStore(account.starttls ? "imap" : "imaps"); final Map folders = new HashMap<>(); List syncs = new ArrayList<>(); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9ac15d04..b1748446 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -319,5 +319,5 @@ @color/dark_grey - 17BA15C1AF55D925F98B99CEA4375D4CDF4C174B + BCB07BD93B29C1959C15F1CF6C3A2619BAF7A17