Searched refs:defaultRule (Results 1 – 1 of 1) sorted by relevance
429 private boolean ruleValuesEqual(AutomaticZenRule rule, ZenRule defaultRule) { in ruleValuesEqual() argument430 if (rule == null || defaultRule == null) { in ruleValuesEqual()434 NotificationManager.zenModeToInterruptionFilter(defaultRule.zenMode) in ruleValuesEqual()435 && rule.getConditionId().equals(defaultRule.conditionId) in ruleValuesEqual()436 && rule.getOwner().equals(defaultRule.component); in ruleValuesEqual()444 ZenRule defaultRule = configDefaultRules.automaticRules.get(ruleId); in updateDefaultZenRules() local446 if (ruleValuesEqual(currRule, defaultRule) && in updateDefaultZenRules()447 !defaultRule.name.equals(currRule.getName())) { in updateDefaultZenRules()448 if (canManageAutomaticZenRule(defaultRule)) { in updateDefaultZenRules()450 + "from " + currRule.getName() + " to " + defaultRule.name); in updateDefaultZenRules()[all …]