mirror of
https://github.com/videolan/vlc-android
synced 2024-12-04 15:23:51 +08:00
Remove the Android Auto settings from TV
Fixes a crash
This commit is contained in:
parent
020d063703
commit
361b8cf753
@ -56,6 +56,7 @@ class PreferencesFragment : BasePreferenceFragment(), SharedPreferences.OnShared
|
||||
super.onCreate(savedInstanceState)
|
||||
findPreference<Preference>(SCREEN_ORIENTATION)?.isVisible = false
|
||||
findPreference<Preference>("casting_category")?.isVisible = false
|
||||
findPreference<Preference>("android_auto_category")?.isVisible = false
|
||||
findPreference<Preference>(KEY_VIDEO_APP_SWITCH)?.isVisible = AndroidDevices.hasPiP
|
||||
findPreference<Preference>("remote_access_category")?.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1
|
||||
findPreference<Preference>("permissions_title")?.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1
|
||||
|
Loading…
Reference in New Issue
Block a user