From 71c6c60762b0c78210b0e788aa577b5bc51c48a4 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 25 Aug 2017 08:58:18 -0700 Subject: [PATCH] Bring intent to font, to treat the activity as a single instance on background/resume. --- .../java/com/eggheadgames/aboutbox/activity/AboutActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/src/main/java/com/eggheadgames/aboutbox/activity/AboutActivity.java b/library/src/main/java/com/eggheadgames/aboutbox/activity/AboutActivity.java index d1b678d..f2073b6 100644 --- a/library/src/main/java/com/eggheadgames/aboutbox/activity/AboutActivity.java +++ b/library/src/main/java/com/eggheadgames/aboutbox/activity/AboutActivity.java @@ -23,6 +23,7 @@ public class AboutActivity extends MaterialAboutActivity { public static void launch(Activity activity) { Intent intent = new Intent(activity, AboutActivity.class); + intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); activity.startActivity(intent); }