Fix: call SessionPrefs.gpuDriverMode through its instance from Java

This commit is contained in:
The412Banner committed 2026-10-12 22:44:42 -04:00
1 parent 387359ad9e
commit bbbd41658a
1 file changed
+1 -1
@@ -321,7 +321,7 @@ public final class TurnipDriver {
// build set: a PanVK Android half fails on Mali gralloc. A manual pick is respected.
if (chosen != null && !chosen.isEmpty() && new File("/dev/mali0").exists()
&& !com.droiddeck.launcher.core.DeviceSupport.INSTANCE.adreno()
&& SessionPrefs.GPU_DRIVERS_AUTO.equals(SessionPrefs.gpuDriverMode(context))) {
&& SessionPrefs.GPU_DRIVERS_AUTO.equals(SessionPrefs.INSTANCE.gpuDriverMode(context))) {
DriverBundle.Bundle bundle = DriverBundle.INSTANCE.containing(context, chosen, false);
if (bundle != null && DriverPairs.INSTANCE.isNonAdreno(bundle.getId())) {
Log.i(TAG, "Mali under Auto: display on the system Vulkan loader, not " + chosen);