Skip to content

Commit d9a8a9c

Browse files
committed
gogio: [android] make singleInstance if schemes in use
Signed-off-by: inkeliz <[email protected]>
1 parent 3e8335e commit d9a8a9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gogio/androidbuild.go

+3
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,9 @@ func exeAndroid(tmpDir string, tools *androidTools, bi *buildInfo, extraJars, pe
463463
android:theme="@style/Theme.GioApp"
464464
android:configChanges="screenSize|screenLayout|smallestScreenSize|orientation|keyboardHidden"
465465
android:windowSoftInputMode="adjustResize"
466+
{{- if .Schemes}}
467+
android:launchMode= "singleInstance"
468+
{{- end}}
466469
android:exported="true">
467470
<intent-filter>
468471
<action android:name="android.intent.action.MAIN" />

0 commit comments

Comments
 (0)