Skip to content

Commit 362f153

Browse files
committed
Update
1 parent c3cd9a5 commit 362f153

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/src/main/java/com/tool/tree/CrashHandler.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ public void uncaughtException(Thread thread, Throwable ex) {
2525

2626
Intent intent = new Intent(context, CrashLogActivity.class);
2727
intent.putExtra("crash_log", stackTrace);
28-
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
29-
| Intent.FLAG_ACTIVITY_CLEAR_TASK
30-
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
28+
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
29+
| Intent.FLAG_ACTIVITY_CLEAR_TASK);
3130

3231
context.startActivity(intent);
3332

0 commit comments

Comments
 (0)