mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 11:54:10 +01:00
Added beta flag
This commit is contained in:
@@ -48,7 +48,8 @@ public class ApplicationEx extends Application {
|
||||
if (ownFault(ex)) {
|
||||
Log.e(ex);
|
||||
|
||||
if (!Helper.isPlayStoreInstall(ApplicationEx.this))
|
||||
if (BuildConfig.BETA_RELEASE ||
|
||||
!Helper.isPlayStoreInstall(ApplicationEx.this))
|
||||
writeCrashLog(ApplicationEx.this, ex);
|
||||
|
||||
if (prev != null)
|
||||
|
||||
@@ -4,7 +4,10 @@ public class Log {
|
||||
static final String TAG = "fairemail";
|
||||
|
||||
public static int i(String msg) {
|
||||
return android.util.Log.i(TAG, msg);
|
||||
if (BuildConfig.BETA_RELEASE)
|
||||
return android.util.Log.i(TAG, msg);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int w(String msg) {
|
||||
|
||||
Reference in New Issue
Block a user