From b451e8f1158f78b4d59680ae8f0975e58cb4d4d7 Mon Sep 17 00:00:00 2001 From: Stanley Wang Date: Thu, 21 Jan 2021 18:21:27 +0800 Subject: [PATCH] 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 --- res/xml/channel_notification_settings.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/res/xml/channel_notification_settings.xml b/res/xml/channel_notification_settings.xml index ff1427b7d7b..44a21acbe4c 100644 --- a/res/xml/channel_notification_settings.xml +++ b/res/xml/channel_notification_settings.xml @@ -25,10 +25,9 @@ android:order="1" android:layout="@layout/settings_entity_header" /> - + android:order="2" />