|
|
@ -98,6 +98,7 @@ public class Helper {
|
|
|
|
static final float LOW_LIGHT = 0.6f;
|
|
|
|
static final float LOW_LIGHT = 0.6f;
|
|
|
|
|
|
|
|
|
|
|
|
static final String FAQ_URI = "https://github.com/M66B/open-source-email/blob/master/FAQ.md";
|
|
|
|
static final String FAQ_URI = "https://github.com/M66B/open-source-email/blob/master/FAQ.md";
|
|
|
|
|
|
|
|
static final String XDA_URI = "https://forum.xda-developers.com/android/apps-games/source-email-t3824168";
|
|
|
|
|
|
|
|
|
|
|
|
static ThreadFactory backgroundThreadFactory = new ThreadFactory() {
|
|
|
|
static ThreadFactory backgroundThreadFactory = new ThreadFactory() {
|
|
|
|
private final AtomicInteger threadId = new AtomicInteger();
|
|
|
|
private final AtomicInteger threadId = new AtomicInteger();
|
|
|
@ -231,6 +232,7 @@ public class Helper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static Intent getIntentIssue(Context context) {
|
|
|
|
static Intent getIntentIssue(Context context) {
|
|
|
|
|
|
|
|
if (BuildConfig.BETA_RELEASE) {
|
|
|
|
String version = BuildConfig.VERSION_NAME + "/" +
|
|
|
|
String version = BuildConfig.VERSION_NAME + "/" +
|
|
|
|
(Helper.hasValidFingerprint(context) ? "1" : "3") +
|
|
|
|
(Helper.hasValidFingerprint(context) ? "1" : "3") +
|
|
|
|
(Helper.isPro(context) ? "+" : "");
|
|
|
|
(Helper.isPro(context) ? "+" : "");
|
|
|
@ -244,6 +246,8 @@ public class Helper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version));
|
|
|
|
intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version));
|
|
|
|
return intent;
|
|
|
|
return intent;
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Graphics
|
|
|
|
// Graphics
|
|
|
|