Merge "Only show one copy of each preference" into oc-dev am: 31de48193e

am: c265993528

Change-Id: I705f27b9692671a2a36324e794e098243fa9275b
This commit is contained in:
Julia Reynolds
2017-05-04 20:19:01 +00:00
committed by android-build-merger

View File

@@ -91,6 +91,8 @@ public class AppNotificationSettings extends NotificationSettingsBase {
if (getPreferenceScreen() != null) { if (getPreferenceScreen() != null) {
getPreferenceScreen().removeAll(); getPreferenceScreen().removeAll();
mChannelGroups.clear();
mShowLegacyChannelConfig = false;
} }
addPreferencesFromResource(R.xml.app_notification_settings); addPreferencesFromResource(R.xml.app_notification_settings);