Hide repeat callers instead of disabling.

Bug: 27724390
Change-Id: I4f538138d010f306ce6467122c8aef89eaa81ed5
This commit is contained in:
Julia Reynolds
2016-04-01 10:54:34 -04:00
parent 96ddca3519
commit e605e32522

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;
}