mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-24 07:10:50 +00:00
Fix bug reporting
This commit is contained in:
parent
2dc3251dc2
commit
01474a3701
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue