|
|
@ -720,9 +720,13 @@ 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 {
|
|
|
|
|
|
|
|
if (Helper.hasValidFingerprint(context))
|
|
|
|
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse(SUPPORT_URI));
|
|
|
|
|
|
|
|
else
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI));
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static Intent getIntentRate(Context context) {
|
|
|
|
static Intent getIntentRate(Context context) {
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + BuildConfig.APPLICATION_ID));
|
|
|
|
return new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + BuildConfig.APPLICATION_ID));
|
|
|
|