commit | 677068136b341e24964e259498f1d4a9286adcd8 | [log] [tgz] |
---|---|---|
author | Yuri Lin <yurilin@google.com> | Wed Oct 09 17:53:48 2024 -0400 |
committer | Matías Hernández <matiashe@google.com> | Fri Oct 11 11:31:10 2024 +0000 |
tree | 674fb526955b065eaf58e28aba49ff429ccecd8e | |
parent | e0dbf7e258af5f450d204f40888eaa90a408e9df [diff] |
Update areChannelsBypassingDnd from PreferencesHelper correctly The previous implementation overwrites the channel permissions associated with manual DND. This change adds a new method to ZenModeHelper to explicitly only set the hasPriorityChannels (areChannelsBypassingDnd) bit. Fixes: 372302344 Test: manual to confirm correct behavior, ZenModeHelperTest, PreferencesHelperTest Flag: android.app.modes_ui Change-Id: I38e8ff6187209ca2464c83490caae74847f4f3cd