From 4e02252b75b68e794466b143370b5d3ea10651f2 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Thu, 28 Sep 2017 11:30:04 -0400 Subject: [PATCH] Only let one card viewing activity exist at a time Now that there are shortcuts which can launch card viewing activities directly, if a user does not back out of the activity then there will be a pile up of activities over time. To prevent this, only let one such view activity exist at a time. --- app/src/main/AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1ee89ad22..f0d083c60 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -36,6 +36,7 @@ android:name=".LoyaltyCardViewActivity" android:theme="@style/AppTheme.NoActionBar" android:configChanges="orientation|screenSize" + android:launchMode="singleTop" android:windowSoftInputMode="stateHidden"/>