mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 00:21:10 +00:00
Enable Leak Canary in test releases
This commit is contained in:
parent
2098bd8383
commit
9a7bb254cc
2 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ public class ApplicationEx extends Application
|
|||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
final boolean crash_reports = prefs.getBoolean("crash_reports", false);
|
||||
final boolean leak_canary = prefs.getBoolean("leak_canary", false);
|
||||
final boolean leak_canary = prefs.getBoolean("leak_canary", BuildConfig.TEST_RELEASE);
|
||||
final boolean load_emoji = prefs.getBoolean("load_emoji", true);
|
||||
|
||||
prev = Thread.getDefaultUncaughtExceptionHandler();
|
||||
|
|
|
@ -2380,7 +2380,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|||
swProtocol.setChecked(prefs.getBoolean("protocol", false));
|
||||
swLogInfo.setChecked(prefs.getInt("log_level", android.util.Log.WARN) <= android.util.Log.INFO);
|
||||
swDebug.setChecked(prefs.getBoolean("debug", false));
|
||||
swCanary.setChecked(prefs.getBoolean("leak_canary", false));
|
||||
swCanary.setChecked(prefs.getBoolean("leak_canary", BuildConfig.TEST_RELEASE));
|
||||
swTest1.setChecked(prefs.getBoolean("test1", false));
|
||||
swTest2.setChecked(prefs.getBoolean("test2", false));
|
||||
swTest3.setChecked(prefs.getBoolean("test3", false));
|
||||
|
|
Loading…
Add table
Reference in a new issue