Update dependent logic in modes vis page
If the list isn't visible, we shouldn't allow HUNs to be Test: ZenModeNotifVisFragmentTest, manual Fixes: 367222597 Flag: EXEMPT bugfix Change-Id: I1dc72061dfb99aed8b644c703214b17d62b0532e
This commit is contained in:
@@ -38,7 +38,8 @@ public class ZenModeNotifVisFragment extends ZenModeFragmentBase {
|
||||
prefControllers.add(new ZenModeNotifVisPreferenceController(context,
|
||||
"zen_effect_light", ZenPolicy.VISUAL_EFFECT_LIGHTS, null, mBackend));
|
||||
prefControllers.add(new ZenModeNotifVisPreferenceController(context,
|
||||
"zen_effect_peek", ZenPolicy.VISUAL_EFFECT_PEEK, null, mBackend));
|
||||
"zen_effect_peek", ZenPolicy.VISUAL_EFFECT_PEEK,
|
||||
new int[] {ZenPolicy.VISUAL_EFFECT_NOTIFICATION_LIST}, mBackend));
|
||||
prefControllers.add(new ZenModeNotifVisPreferenceController(context,
|
||||
"zen_effect_status", ZenPolicy.VISUAL_EFFECT_STATUS_BAR,
|
||||
new int[] {ZenPolicy.VISUAL_EFFECT_NOTIFICATION_LIST}, mBackend));
|
||||
|
||||
Reference in New Issue
Block a user