mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 08:23:24 +00:00
Added clone release type
This commit is contained in:
parent
00091b9b26
commit
2cef677367
1 changed files with 8 additions and 2 deletions
|
@ -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…
Reference in a new issue