1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

It helps when I don't back out the actual changes

This commit is contained in:
Jesse Vincent 2008-12-03 04:10:59 +00:00
parent 505d2866fc
commit 351c825433

View File

@ -17,9 +17,9 @@ import com.fsck.k9.service.BootReceiver;
import com.fsck.k9.service.MailService; import com.fsck.k9.service.MailService;
public class k9 extends Application { public class k9 extends Application {
public static final String LOG_TAG = "k9"; public static Application app = null;
public static File tempDirectory; public static File tempDirectory;
public static final String LOG_TAG = "k9";
/** /**
* If this is enabled there will be additional logging information sent to * If this is enabled there will be additional logging information sent to
@ -146,6 +146,7 @@ public class k9 extends Application {
@Override @Override
public void onCreate() { public void onCreate() {
super.onCreate(); super.onCreate();
app = this;
Preferences prefs = Preferences.getPreferences(this); Preferences prefs = Preferences.getPreferences(this);
DEBUG = prefs.geteEnableDebugLogging(); DEBUG = prefs.geteEnableDebugLogging();
DEBUG_SENSITIVE = prefs.getEnableSensitiveLogging(); DEBUG_SENSITIVE = prefs.getEnableSensitiveLogging();