Zen Mode messages + calls are ListPreferences (radio button dialog)
Bug: 63077372 Test: ZenModeCallsPreferenceControllerTest Test: ZenModeMessagesPreferenceControllerTest Change-Id: I5d2516402b261413c51a1b4eba5153ffadf1459b
This commit is contained in:
@@ -103,11 +103,18 @@ public class ZenModeBackend {
|
||||
}
|
||||
|
||||
protected int getPriorityCallSenders() {
|
||||
return mPolicy.priorityCallSenders;
|
||||
if (isPriorityCategoryEnabled(NotificationManager.Policy.PRIORITY_CATEGORY_CALLS)) {
|
||||
return mPolicy.priorityCallSenders;
|
||||
}
|
||||
|
||||
return SOURCE_NONE;
|
||||
}
|
||||
|
||||
protected int getPriorityMessageSenders() {
|
||||
return mPolicy.priorityMessageSenders;
|
||||
if (isPriorityCategoryEnabled(NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES)) {
|
||||
return mPolicy.priorityMessageSenders;
|
||||
}
|
||||
return SOURCE_NONE;
|
||||
}
|
||||
|
||||
protected void saveVisualEffectsPolicy(int category, boolean canBypass) {
|
||||
|
Reference in New Issue
Block a user