summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrinpatch <rin@patch.cx>2022-03-10 19:14:44 +0300
committerHarsh Shandilya <me@msfjarvis.dev>2022-03-11 01:25:20 +0530
commit575a8842b09a2ff7f70f37f3292d087ed946ea1d (patch)
tree60e50fbae3806e09dcb19c2298bb97e796934734
parent70d9a87d0d73d92f20c45f84361630b72435840f (diff)
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: rinpatch <rin@patch.cx> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-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>