Added clone release type

This commit is contained in:
M66B 2020-03-28 09:39:02 +01:00
parent 00091b9b26
commit 2cef677367
1 changed files with 8 additions and 2 deletions

View File

@ -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" : ""));
}