refactor(launcher): resolve displayNameOf on the activity in DriverMenus

This commit is contained in:
xXJsonDeruloXx committed 2026-09-27 11:48:05 -04:00
1 parent 9f04a51810
commit f91da6c3ab
1 file changed
+1 -1
@@ -75,7 +75,7 @@ internal class DriverMenus(private val activity: Activity, private val ui: Handl
* library - then say what happened. A refusal's message is the user-facing reason.
*/
fun importDriver(uri: Uri, linux: Boolean) {
val name = displayNameOf(uri)
val name = activity.displayNameOf(uri)
Thread({
val problem = try {
if (linux) LinuxVulkanDriverManager(activity).installDriver(uri, name)