From 0876b2620424f621b73f5dc10d1307c22ef32a60 Mon Sep 17 00:00:00 2001
From: someone5678 <59456192+someone5678@users.noreply.github.com>
Date: Sun, 5 Jan 2025 14:22:47 +0900
Subject: [PATCH] Settings: Use List Preference for Zen mode settings
Change-Id: Id737ab6469012fcc1fbfb5c5bd5112f6c55c0eeb
---
res/xml/modes_set_calendar.xml | 4 ++--
.../modes/ZenModeSetCalendarPreferenceController.java | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/res/xml/modes_set_calendar.xml b/res/xml/modes_set_calendar.xml
index be094f21f39..f6785a7fac9 100644
--- a/res/xml/modes_set_calendar.xml
+++ b/res/xml/modes_set_calendar.xml
@@ -26,13 +26,13 @@
android:key="zen_mode_event_category">
-
-
diff --git a/src/com/android/settings/notification/modes/ZenModeSetCalendarPreferenceController.java b/src/com/android/settings/notification/modes/ZenModeSetCalendarPreferenceController.java
index 67882360401..728ab988b65 100644
--- a/src/com/android/settings/notification/modes/ZenModeSetCalendarPreferenceController.java
+++ b/src/com/android/settings/notification/modes/ZenModeSetCalendarPreferenceController.java
@@ -25,7 +25,7 @@ import android.provider.CalendarContract;
import android.service.notification.ZenModeConfig;
import androidx.annotation.NonNull;
-import androidx.preference.DropDownPreference;
+import androidx.preference.ListPreference;
import androidx.preference.Preference;
import androidx.preference.PreferenceCategory;
@@ -49,8 +49,8 @@ class ZenModeSetCalendarPreferenceController extends AbstractZenModePreferenceCo
@VisibleForTesting
protected static final String KEY_REPLY = "reply";
- private DropDownPreference mCalendar;
- private DropDownPreference mReply;
+ private ListPreference mCalendar;
+ private ListPreference mReply;
private ZenModeConfig.EventInfo mEvent;