Streamline support

This commit is contained in:
M66B 2020-01-04 22:22:28 +01:00
parent dff0a30352
commit c621ac71a3
1 changed files with 4 additions and 2 deletions

View File

@ -94,7 +94,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
@ -133,7 +132,7 @@ public class Helper {
static final String FAQ_URI = "https://github.com/M66B/FairEmail/blob/master/FAQ.md";
static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168";
static final String SUPPORT_URI = "https://contact.faircode.eu/?product=fairemailsupport";
static final String SUPPORT_URI = "https://support.faircode.eu/";
static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID;
static ExecutorService getBackgroundExecutor(int threads, String name) {
@ -307,6 +306,8 @@ public class Helper {
static Intent getIntentIssue(Context context) {
if (ActivityBilling.isPro(context)) {
return new Intent(Intent.ACTION_VIEW, Uri.parse(SUPPORT_URI));
/*
String version = BuildConfig.VERSION_NAME + "/" +
(Helper.hasValidFingerprint(context) ? "1" : "3") +
(BuildConfig.PLAY_STORE_RELEASE ? "p" : "") +
@ -322,6 +323,7 @@ public class Helper {
}
intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version));
return intent;
*/
} else
return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI));
}