summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-01-26 16:43:49 +0100
committer Matías Hernández <matiashe@google.com> 2024-01-29 12:06:17 +0100
commit3a9a268ba0ce341987721c473d1f37d68a571bd7 (patch)
treef54db7fae4456a9b9b3bbd6ccc6f1ca71b716f03 /libs/input/PointerController.cpp
parentdae634e0227677cf76fd7d32d78090afb23c317d (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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions