diff options
author | Arne Schwabe <arne@rfc2549.org> | 2023-06-05 12:19:14 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2023-06-05 12:19:14 +0200 |
commit | f18fa39fb3de6b2c899d41a01d564d429088916f (patch) | |
tree | b7caa6de104ccc5dc2dd009e86d22c9697ec34ed /main/src | |
parent | 720f8271c1a15b57ebd5b66091a462fa0daa56a4 (diff) |
Put RemoteAction into the same affinity as DisconnectVPN
This prevents bringing up the main windows of the app when the
activity is started.
closes #1608
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/AndroidManifest.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml index 626db530..b22507d6 100644 --- a/main/src/main/AndroidManifest.xml +++ b/main/src/main/AndroidManifest.xml @@ -124,7 +124,14 @@ </intent-filter> </receiver> --> - <activity android:name=".api.RemoteAction" /> + <activity android:name=".api.RemoteAction" + android:launchMode="singleInstance" + android:autoRemoveFromRecents="true" + android:excludeFromRecents="true" + android:taskAffinity=".LaunchVPN" + android:theme="@style/blinkt.dialog" + android:noHistory="true" + /> <activity-alias android:name=".api.ConnectVPN" |