diff options
| author | 2024-04-18 13:31:34 +0200 | |
|---|---|---|
| committer | 2024-04-22 12:55:10 +0200 | |
| commit | 089ce4b24a4da5df30102eae1673be64f82c667e (patch) | |
| tree | d85d05128cb13ff793e7b231ac6ba0c80218452f /libs/input/SpriteController.cpp | |
| parent | ed46d368dbf24a2d69454f80aacae7678e15559d (diff) | |
Don't reset AZR condition when user updates a rule
Only for UPDATE_ORIGIN_USER which for updateAutomaticZenRule is guaranteed to come from a user action in SystemUI or Settings.
Exceptions: if the rule is being disabled, then the condition is reset. This prevents the rule from unexpectedly activating when it's reenabled later.
Flag: android.app.modes_ui
Test: atest ZenModeHelperTest
Fixes: 335230636
Change-Id: Ife8d0d69430fe22391f83628721814ad3fd6e288
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions