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