summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-02-22 16:21:29 +0100
committer Matías Hernández <matiashe@google.com> 2024-02-22 16:21:29 +0100
commit2adf76d3b23a0923a1838b13192e80a51f5c3c21 (patch)
tree8441d0ff82c5430a2b6c21356748f0eaff9c2134 /libs/hwui/FrameInfoVisualizer.cpp
parent7e1188270bc67e677a933dae218c94e63117eae8 (diff)
Change the way ALARMS_ONLY/NO_INTERRUPTIONS rules block priority notifications
Instead of having ZenPolicy.Builder.disallowAllSounds() set priorityAllowed=none, we apply it directly when computing the consolidated policy from rules having one of these zen modes. Otherwise, it would also apply to rules with PRIORITY_ONLY filtering, which breaks existing use-cases. The XML attribute where this value is stored was renamed so that we don't read previously-saved priorityChannels values. This is okay because the flag has not gotten past trunkfood and thus no rules should have a legitimate allowPriorityChannels=none value set (it being a new API), and neither should the manual rule's policy. Test: ZenModeHelperTest (existing tests, added in ag/26227699) Bug: 326306544 Change-Id: Ib1eb971f9bc605558d542909030da4d6eee6995a
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions