Prevent crash

This commit is contained in:
M66B
2020-06-25 16:02:25 +02:00
parent ad75914803
commit f15785ce78
5 changed files with 48 additions and 8 deletions

View File

@@ -326,6 +326,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
try {
getContext().startActivity(app);
} catch (Throwable ex) {
Log.w(ex);
ToastEx.makeText(getContext(), getString(R.string.title_no_viewer, app), Toast.LENGTH_LONG).show();
}
}