Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java804 for (ZenRule currRule : newConfig.automaticRules.values()) { in removeAutomaticZenRule()
805 if (currRule.getPkg() != null in removeAutomaticZenRule()
806 && currRule.getPkg().equals(ruleToRemove.getPkg())) { in removeAutomaticZenRule()
1041 ZenRule currRule = config.automaticRules.get(defaultRule.id); in updateZenRulesOnLocaleChange() local
1044 if (currRule != null in updateZenRulesOnLocaleChange()
1045 && !currRule.modified in updateZenRulesOnLocaleChange()
1046 && (currRule.zenPolicyUserModifiedFields & AutomaticZenRule.FIELD_NAME) == 0 in updateZenRulesOnLocaleChange()
1047 && !defaultRule.name.equals(currRule.name)) { in updateZenRulesOnLocaleChange()
1050 + "from " + currRule.name + " to " + defaultRule.name); in updateZenRulesOnLocaleChange()
1052 currRule.name = defaultRule.name; in updateZenRulesOnLocaleChange()