1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-24 15:21:19 +00:00

Fix bug reporting

This commit is contained in:
M66B 2015-11-22 21:27:57 +01:00
parent 2dc3251dc2
commit 01474a3701

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