mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 02:37:11 -07:00
Bring intent to font, to treat the activity as a single instance on background/resume.
This commit is contained in:
parent
546a95373a
commit
71c6c60762
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ public class AboutActivity extends MaterialAboutActivity {
|
||||||
|
|
||||||
public static void launch(Activity activity) {
|
public static void launch(Activity activity) {
|
||||||
Intent intent = new Intent(activity, AboutActivity.class);
|
Intent intent = new Intent(activity, AboutActivity.class);
|
||||||
|
intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
|
||||||
activity.startActivity(intent);
|
activity.startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue