Skip to content

Commit

Permalink
gogio: [android] make singleInstance if schemes in use
Browse files Browse the repository at this point in the history
Signed-off-by: inkeliz <[email protected]>
  • Loading branch information
inkeliz committed Jun 3, 2024
1 parent 3e8335e commit d9a8a9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gogio/androidbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ func exeAndroid(tmpDir string, tools *androidTools, bi *buildInfo, extraJars, pe
android:theme="@style/Theme.GioApp"
android:configChanges="screenSize|screenLayout|smallestScreenSize|orientation|keyboardHidden"
android:windowSoftInputMode="adjustResize"
{{- if .Schemes}}
android:launchMode= "singleInstance"
{{- end}}
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit d9a8a9c

Please sign in to comment.