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>
This commit is contained in:
Rin Patch authored and Jason A. Donenfeld committed 2022-03-20 22:28:07 -06:00
1 parent 70d9a87d0d
commit 32a2ebb66f
1 file changed
+2 -1
+2 -1
View File
@@ -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>