From 79f5efbbde013764cacb3fdf076a7e6a34f643ec Mon Sep 17 00:00:00 2001 From: cketti Date: Tue, 21 May 2019 22:03:12 +0200 Subject: [PATCH] Remove unused fields --- app/core/src/main/java/com/fsck/k9/K9.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app/core/src/main/java/com/fsck/k9/K9.java b/app/core/src/main/java/com/fsck/k9/K9.java index f54daf31d..c395191ea 100644 --- a/app/core/src/main/java/com/fsck/k9/K9.java +++ b/app/core/src/main/java/com/fsck/k9/K9.java @@ -1,8 +1,6 @@ - package com.fsck.k9; -import java.io.File; import java.util.HashMap; import java.util.Map; @@ -25,9 +23,6 @@ public class K9 { public static final int VERSION_MIGRATE_OPENPGP_TO_ACCOUNTS = 63; - public static File tempDirectory; - public static final String LOG_TAG = "k9"; - /** * Name of the {@link SharedPreferences} file used to store the last known version of the * accounts' databases. @@ -58,13 +53,6 @@ public class K9 { private static final FontSizes fontSizes = new FontSizes(); private static BACKGROUND_OPS backgroundOps = BACKGROUND_OPS.WHEN_CHECKED_AUTO_SYNC; - /** - * Some log messages can be sent to a file, so that the logs - * can be read using unprivileged access (eg. Terminal Emulator) - * on the phone, without adb. Set to null to disable - */ - public static final String logFile = null; - //public static final String logFile = Environment.getExternalStorageDirectory() + "/k9mail/debug.log"; /** * If this is enabled, various development settings will be enabled @@ -202,8 +190,6 @@ public class K9 { public static final String LOCAL_UID_PREFIX = "K9LOCAL:"; - public static final String REMOTE_UID_PREFIX = "K9REMOTE:"; - public static final String IDENTITY_HEADER = K9MailLib.IDENTITY_HEADER; /** @@ -228,11 +214,6 @@ public class K9 { public static final int MAX_SEND_ATTEMPTS = 5; - /** - * Max time (in millis) the wake lock will be held for when background sync is happening - */ - public static final int WAKE_LOCK_TIMEOUT = 600000; - public static final int MANUAL_WAKE_LOCK_TIMEOUT = 120000; public static final int PUSH_WAKE_LOCK_TIMEOUT = K9MailLib.PUSH_WAKE_LOCK_TIMEOUT;