summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stanley Wang <stanleytfwang@google.com> 2021-01-22 06:58:54 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-01-22 06:58:54 +0000
commit8e2ecd5918abda3f3399341e1f8500d090b901b2 (patch)
treea477e36fc340b99d3789febf1341f639c188e5c8
parentbfefb8015a40f86c8c6d700915505889539b96c3 (diff)
parentb451e8f1158f78b4d59680ae8f0975e58cb4d4d7 (diff)
Merge "Fix the ClassCastException of ChannelNotificationSettings"
-rw-r--r--res/xml/channel_notification_settings.xml5
1 files 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" />
- <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