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.
This commit is contained in:
Branden Archer
2017-09-28 11:30:04 -04:00
parent 647ce00e72
commit 4e02252b75

View File

@@ -36,6 +36,7 @@
android:name=".LoyaltyCardViewActivity"
android:theme="@style/AppTheme.NoActionBar"
android:configChanges="orientation|screenSize"
android:launchMode="singleTop"
android:windowSoftInputMode="stateHidden"/>
<activity
android:name=".BarcodeSelectorActivity"