Merge "Only show one copy of each preference" into oc-dev

This commit is contained in:
Julia Reynolds
2017-05-04 20:08:38 +00:00
committed by Android (Google) Code Review

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);