diff options
| author | 2024-08-05 17:10:18 -0400 | |
|---|---|---|
| committer | 2024-08-06 14:46:35 -0400 | |
| commit | 0bd31d305a94847007f3b8ea309750d44632b71c (patch) | |
| tree | 4f0bfc4a1635c391d30c9c25a1ffe4fab4dcddb9 /api/coverage/tools | |
| parent | dbb483a3a40b998a7672aaefedd851be617e59be (diff) | |
Fix manual rule on upgrade to modes_ui if DND was on
If the manual rule is present in the XML, we don't do any of the stuff to make the manual rule set up like a proper rule, with a non-null zenPolicy, etc, but that's incorrect if the manual rule only existed prior to
Also does not restore the manual rule condition when restoring from a backup, which matches previous behavior.
Fixes: 357161279
Test: ZenModeHelperTest, ZenModeConfigTest, manual by turning modes_ui off and then on both with DND on and DND on for a duration
Flag: android.app.modes_ui
Change-Id: I12e9d1713313aa0a3b626e79c66525b3db21056f
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions