Skip to content

Commit 32a2ebb

Browse files
rinpatchzx2c4
authored andcommitted
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 <[email protected]> Signed-off-by: Harsh Shandilya <[email protected]>
1 parent 70d9a87 commit 32a2ebb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141

4242
<activity
4343
android:name=".activity.TunnelToggleActivity"
44-
android:theme="@style/NoBackgroundTheme" />
44+
android:theme="@style/NoBackgroundTheme"
45+
android:excludeFromRecents="true"/>
4546

4647
<activity android:name=".activity.MainActivity">
4748
<intent-filter>

0 commit comments

Comments
 (0)