Added clone release type

pull/178/head
M66B 5 years ago
parent 00091b9b26
commit 2cef677367

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

Loading…
Cancel
Save