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 2022-03-10 19:14:44 +03:00 committed by Jason A. Donenfeld
parent 70d9a87d0d
commit 32a2ebb66f

View File

@ -41,7 +41,8 @@
<activity <activity
android:name=".activity.TunnelToggleActivity" android:name=".activity.TunnelToggleActivity"
android:theme="@style/NoBackgroundTheme" /> android:theme="@style/NoBackgroundTheme"
android:excludeFromRecents="true"/>
<activity android:name=".activity.MainActivity"> <activity android:name=".activity.MainActivity">
<intent-filter> <intent-filter>