From 12828692b91f98490f8cccffa34cc29f45d79138 Mon Sep 17 00:00:00 2001 From: Daniel Shokouhi Date: Mon, 17 Jul 2023 19:47:09 -0700 Subject: [PATCH] Hide from minimal build --- .../companion/android/settings/SettingsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/homeassistant/companion/android/settings/SettingsFragment.kt b/app/src/main/java/io/homeassistant/companion/android/settings/SettingsFragment.kt index 196475cc635..8c51fd94c5a 100644 --- a/app/src/main/java/io/homeassistant/companion/android/settings/SettingsFragment.kt +++ b/app/src/main/java/io/homeassistant/companion/android/settings/SettingsFragment.kt @@ -327,7 +327,7 @@ class SettingsFragment( } findPreference("android_auto")?.let { - it.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O + it.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && BuildConfig.FLAVOR == "full" } findPreference("auto_favorites")?.setOnPreferenceClickListener {