Browse Source

Make main and setup single instance

main
M66B 6 years ago
parent
commit
a3c9ebc6af
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/src/main/AndroidManifest.xml

+ 3
- 1
app/src/main/AndroidManifest.xml View File

@ -27,6 +27,7 @@
<activity <activity
android:name=".ActivityMain" android:name=".ActivityMain"
android:launchMode="singleInstance"
android:theme="@style/Theme.Transparent"> android:theme="@style/Theme.Transparent">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -38,7 +39,7 @@
<activity <activity
android:name=".ActivitySetup" android:name=".ActivitySetup"
android:exported="false" android:exported="false"
android:launchMode="singleTop"
android:launchMode="singleInstance"
android:parentActivityName=".ActivityMain" /> android:parentActivityName=".ActivityMain" />
<activity <activity
@ -50,6 +51,7 @@
<activity <activity
android:name=".ActivityCompose" android:name=".ActivityCompose"
android:exported="false" android:exported="false"
android:launchMode="standard"
android:parentActivityName=".ActivityView" /> android:parentActivityName=".ActivityView" />
<service android:name=".ServiceSynchronize" /> <service android:name=".ServiceSynchronize" />


Loading…
Cancel
Save