Improved error handling

This commit is contained in:
M66B
2019-06-20 08:39:37 +02:00
parent c81389769e
commit ce9b7e82e2
13 changed files with 100 additions and 76 deletions

View File

@@ -448,15 +448,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
} else if ("outbox".equals(action))
onMenuOutbox();
else if ("error".equals(action)) {
Intent ifaq = new Intent(Intent.ACTION_VIEW);
ifaq.setData(Uri.parse(Helper.FAQ_URI + "#frequently-asked-questions"));
ifaq.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
if (ifaq.resolveActivity(getPackageManager()) != null)
startActivity(ifaq);
} else if (action.startsWith("thread")) {
else if (action.startsWith("thread")) {
intent.putExtra("thread", action.split(":", 2)[1]);
onViewThread(intent);
}