Merge "Hide repeat callers instead of disabling." into nyc-dev

This commit is contained in:
Julia Reynolds
2016-04-04 13:52:35 +00:00
committed by Android (Google) Code Review

View File

@@ -175,7 +175,7 @@ public class ZenModePrioritySettings extends ZenModeSettingsBase implements Inde
mEvents.setChecked(isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_EVENTS));
mRepeatCallers.setChecked(
isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REPEAT_CALLERS));
mRepeatCallers.setEnabled(!isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS)
mRepeatCallers.setVisible(!isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS)
|| mPolicy.priorityCallSenders != Policy.PRIORITY_SENDERS_ANY);
mDisableListeners = false;
}