Fix AOSP build

This commit is contained in:
t-m-w 2024-07-31 11:02:33 -04:00 committed by GitHub
parent e7999db83f
commit a00ee0fa4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ class SchedulingFragment : PreferenceFragmentCompat(),
} }
} }
override fun onDisplayPreferenceDialog(preference: Preference?) { override fun onDisplayPreferenceDialog(preference: Preference) {
when (preference) { when (preference) {
is ListPreference -> { is ListPreference -> {
val dialogFragment = M3ListPreference.newInstance(preference.getKey()) val dialogFragment = M3ListPreference.newInstance(preference.getKey())