Fix bug reporting

This commit is contained in:
M66B 2015-11-22 21:27:57 +01:00
parent 2dc3251dc2
commit 01474a3701
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ public class Util {
final Intent bug = new Intent(Intent.ACTION_APP_ERROR);
bug.putExtra(Intent.EXTRA_BUG_REPORT, report);
bug.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
if (bug.resolveActivity(context.getPackageManager()) == null)
sendLogcat(ex.toString() + "\n" + Log.getStackTraceString(ex), context);
else