Merge "Hide repeat callers instead of disabling." into nyc-dev am: 03a3a1e

am: 7effca5

* commit '7effca50d49f635bdf5e575573af0321d7c0f80a':
  Hide repeat callers instead of disabling.

Change-Id: I73700f6f4242532934ac01c5297525d1ff52aa73
This commit is contained in:
Julia Reynolds
2016-04-04 14:00:24 +00:00
committed by android-build-merger

View File

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