fix(setup): show the saved Mali (Venus) switch after the app restarts (#2684)

refresh() reloaded the Mali bridge switch from SessionPrefs but not
Mali (Venus), so after any process restart (an app update, or Android
reclaiming the app) Setup showed "Mali (Venus): off" while the saved
setting stayed on and sessions kept using Venus. Only opening the
Performance page (refreshCores) loaded the real value. The Vulkan
1.2 warning (venusHostVulkan) was dropped the same way.
This commit is contained in:
unixenon authored and GitHub committed 2026-11-18 12:55:28 -05:00
1 parent d94906bd9c
commit cca84f7b6b
1 file changed
+2
@@ -3101,6 +3101,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
installed = LinuxRuntimeInstaller.installedVersion(this)
ready = LinuxRuntime.isInstalled(this)
vkBridge = SessionPrefs.vkBridge(this)
venus = SessionPrefs.venus(this)
venusHostVulkan = com.droiddeck.launcher.session.VenusComponent.hostVulkanTooOld(this)
vkBridgeSafe = SessionPrefs.vkBridgeSafe(this)
bridgeProtonDxvk = SessionPrefs.bridgeProtonDxvk(this)
removalPending = LinuxRuntimeInstaller.hasRemovalPending(this)