Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenPolicy.java934 public void apply(ZenPolicy policyToApply) { in apply() argument
935 if (policyToApply == null) { in apply()
946 @State int newState = policyToApply.mPriorityCategories.get(category); in apply()
951 && mPriorityMessages < policyToApply.mPriorityMessages) { in apply()
952 mPriorityMessages = policyToApply.mPriorityMessages; in apply()
954 && mPriorityCalls < policyToApply.mPriorityCalls) { in apply()
955 mPriorityCalls = policyToApply.mPriorityCalls; in apply()
967 if (policyToApply.mVisualEffects.get(visualEffect) != STATE_UNSET) { in apply()
968 mVisualEffects.set(visualEffect, policyToApply.mVisualEffects.get(visualEffect)); in apply()