mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
fix(graphics): make Auto-owned Mali fallback state explicit (#2406)
* fix(graphics): make Auto-owned Mali fallback state explicit * fix(graphics): a route Auto stored itself is not counted as the user's choice
This commit is contained in:
1 parent
decab6ea90
commit
a4558c841a
4 files changed
+123
-7
No files matched your search
@@ -907,8 +907,12 @@ object SessionPrefs {
|
||||
@JvmStatic
|
||||
fun vkBridge(context: Context): Boolean = prefs(context).getBoolean("vkBridge", com.droiddeck.launcher.core.DeviceSupport.mali())
|
||||
|
||||
fun vkBridgeExplicit(context: Context): Boolean = prefs(context).contains("vkBridge")
|
||||
|
||||
fun venus(context: Context): Boolean = prefs(context).getBoolean("venus", false)
|
||||
|
||||
fun venusExplicit(context: Context): Boolean = prefs(context).contains("venus")
|
||||
|
||||
fun hostVulkanApi(context: Context): String = prefs(context).getString("hostVulkanApi", "").orEmpty()
|
||||
|
||||
fun setHostVulkanApi(context: Context, api: String) {
|
||||
|
||||
Reference in new issue
Block a user