Fixes issue #2

by removing singleinstance from MainActivity in the manifest and handling the launch in AppShortcutLauncherActivity
This commit is contained in:
Adrian Campos 2017-03-22 14:25:51 -07:00 committed by Karim Abou Zeid
commit d17f0407dd
2 changed files with 6 additions and 3 deletions

View file

@ -20,8 +20,7 @@
android:supportsRtl="true"
android:theme="@style/Theme.Phonograph.Light"
tools:ignore="UnusedAttribute">
<activity android:name=".ui.activities.MainActivity"
android:launchMode="singleInstance">
<activity android:name=".ui.activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.MUSIC_PLAYER" />
@ -176,7 +175,8 @@
android:label="@string/report_an_issue" />
<activity
android:name=".appshortcuts.AppShortcutLauncherActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:launchMode="singleInstance"/>
</application>
</manifest>