summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main
diff options
context:
space:
mode:
authorRin Patch <rin@patch.cx>2022-03-10 19:14:44 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-03-20 22:28:07 -0600
commit32a2ebb66f3fef7cc2e062c32f6836d614308053 (patch)
tree60e50fbae3806e09dcb19c2298bb97e796934734 /ui/src/main
parent70d9a87d0d73d92f20c45f84361630b72435840f (diff)
ui: exclude TunnelToggleActivity from recents
Fixes annoying behavior in quick settings widget, when you enable the tunnel, try to switch to last used app, but instead it switches to the toggle activity and turns the tunnel off. Signed-off-by: Rin Patch <rin@patch.cx> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main')
-rw-r--r--ui/src/main/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml
index 4c957bd7..4dd38cb2 100644
--- a/ui/src/main/AndroidManifest.xml
+++ b/ui/src/main/AndroidManifest.xml
@@ -41,7 +41,8 @@
<activity
android:name=".activity.TunnelToggleActivity"
- android:theme="@style/NoBackgroundTheme" />
+ android:theme="@style/NoBackgroundTheme"
+ android:excludeFromRecents="true"/>
<activity android:name=".activity.MainActivity">
<intent-filter>