commit | 3a9a268ba0ce341987721c473d1f37d68a571bd7 | [log] [tgz] |
---|---|---|
author | Matías Hernández <matiashe@google.com> | Fri Jan 26 16:43:49 2024 +0100 |
committer | Matías Hernández <matiashe@google.com> | Mon Jan 29 12:06:17 2024 +0100 |
tree | f54db7fae4456a9b9b3bbd6ccc6f1ca71b716f03 | |
parent | dae634e0227677cf76fd7d32d78090afb23c317d [diff] |
Ensure restored (deleted+added) rules are neither active nor snoozed Also tweak the "preserve" step to add a *copy* of the rule to the deleted map, instead of the rule itself. While this shouldn't really affect the outcome (because the rule will be removed from automaticRules shortly) it's better not to mess with its state. Fixes: 322482703 Test: atest ZenModeHelperTest Change-Id: I9e14f1ece61946332b8b5883ff7e782f832f47fd