Home
last modified time | relevance | path

Searched refs:audienceType (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java548 public @NonNull Builder allowConversations(@ConversationSenders int audienceType) { in allowConversations() argument
549 if (audienceType == STATE_UNSET) { in allowConversations()
553 if (audienceType == CONVERSATION_SENDERS_NONE) { in allowConversations()
555 } else if (audienceType == CONVERSATION_SENDERS_ANYONE in allowConversations()
556 || audienceType == CONVERSATION_SENDERS_IMPORTANT) { in allowConversations()
562 mZenPolicy.mConversationSenders = audienceType; in allowConversations()
572 public @NonNull Builder allowMessages(@PeopleType int audienceType) { in allowMessages() argument
573 if (audienceType == STATE_UNSET) { in allowMessages()
577 if (audienceType == PEOPLE_TYPE_NONE) { in allowMessages()
579 } else if (audienceType == PEOPLE_TYPE_ANYONE || audienceType == PEOPLE_TYPE_CONTACTS in allowMessages()
[all …]