Fix the ClassCastException of ChannelNotificationSettings
Update the LayoutPreference to SettingsMainSwitchPreference. Fix: 177907827 Test: Run robotest and apply the widget in Settings and see the ui Change-Id: I7ce320b8e38432faf685914bf91cf1daa62b2687
This commit is contained in:
@@ -25,10 +25,9 @@
|
||||
android:order="1"
|
||||
android:layout="@layout/settings_entity_header" />
|
||||
|
||||
<com.android.settingslib.widget.LayoutPreference
|
||||
<com.android.settings.widget.SettingsMainSwitchPreference
|
||||
android:key="block"
|
||||
android:order="2"
|
||||
android:layout="@layout/styled_switch_bar" />
|
||||
android:order="2" />
|
||||
|
||||
<!-- Importance toggle -->
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
|
Reference in New Issue
Block a user