commit | 089ce4b24a4da5df30102eae1673be64f82c667e | [log] [tgz] |
---|---|---|
author | Matías Hernández <matiashe@google.com> | Thu Apr 18 13:31:34 2024 +0200 |
committer | Matías Hernández <matiashe@google.com> | Mon Apr 22 12:55:10 2024 +0200 |
tree | d85d05128cb13ff793e7b231ac6ba0c80218452f | |
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