Merge "Update dependent logic in modes vis page" into main

This commit is contained in:
Treehugger Robot
2024-10-03 16:30:28 +00:00
committed by Android (Google) Code Review

View File

@@ -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));