|
|
@ -213,12 +213,18 @@ public class Log {
|
|
|
|
if (BuildConfig.DEBUG)
|
|
|
|
if (BuildConfig.DEBUG)
|
|
|
|
config.setReleaseStage("debug");
|
|
|
|
config.setReleaseStage("debug");
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
String type = "other";
|
|
|
|
String type;
|
|
|
|
if (Helper.hasValidFingerprint(context))
|
|
|
|
if (Helper.hasValidFingerprint(context)) {
|
|
|
|
if (BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
if (BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
type = "play";
|
|
|
|
type = "play";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
type = "full";
|
|
|
|
type = "full";
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if (BuildConfig.APPLICATION_ID.startsWith("eu.faircode.email"))
|
|
|
|
|
|
|
|
type = "other";
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
type = "clone";
|
|
|
|
|
|
|
|
}
|
|
|
|
config.setReleaseStage(type + (BuildConfig.BETA_RELEASE ? "/beta" : ""));
|
|
|
|
config.setReleaseStage(type + (BuildConfig.BETA_RELEASE ? "/beta" : ""));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|