MCPcopy Create free account
hub / github.com/M66B/FairEmail / getAnnotatedVersion

Method getAnnotatedVersion

app/src/main/java/eu/faircode/email/Helper.java:1444–1451  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

1442 }
1443
1444 private static String getAnnotatedVersion(Context context) {
1445 return BuildConfig.VERSION_NAME + BuildConfig.REVISION + "/" +
1446 (Helper.hasValidFingerprint(context) ? "1" : "3") +
1447 (BuildConfig.PLAY_STORE_RELEASE ? "p" : "") +
1448 (BuildConfig.DEBUG ? "d" : "") +
1449 (ConnectionHelper.vpnActive(context) ? "v" : "") +
1450 (ActivityBilling.isPro(context) ? "+" : "");
1451 }
1452
1453 static Uri getSupportUri(Context context, String reference) {
1454 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);

Callers 2

getSupportUriMethod · 0.95
getIntentIssueMethod · 0.95

Calls 3

hasValidFingerprintMethod · 0.95
vpnActiveMethod · 0.95
isProMethod · 0.95

Tested by

no test coverage detected