From 57f620485f1d7feed30616cf50549cf7c655ba78 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Wed, 14 Sep 2016 18:35:17 +0200 Subject: [PATCH] fix ui crash bug --- app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java b/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java index a6f2d9a71..49cfe0471 100644 --- a/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java +++ b/app/src/main/java/org/schabi/newpipe/report/ErrorActivity.java @@ -234,6 +234,7 @@ public class ErrorActivity extends AppCompatActivity { Intent intent = new Intent(context, ErrorActivity.class); intent.putExtra(ERROR_INFO, errorInfo); intent.putExtra(ERROR_LIST, el); + intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); }