Report question or problem

This commit is contained in:
M66B
2019-04-04 15:41:08 +02:00
parent b7f1b10f36
commit 99f641c1cd
2 changed files with 22 additions and 0 deletions

View File

@@ -967,6 +967,24 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
}
private void onMenuIssue() {
new DialogBuilderLifecycle(this, this)
.setMessage(R.string.title_issue_type)
.setPositiveButton(R.string.title_issue_question, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Helper.view(ActivityView.this, ActivityView.this, Helper.getIntentFAQ());
}
})
.setNegativeButton(R.string.title_issue_problem, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
onReportIssue();
}
})
.show();
}
void onReportIssue() {
try {
String version = BuildConfig.VERSION_NAME + "/" +
(Helper.hasValidFingerprint(this) ? "1" : "3") +