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
Loading
Please register or sign in to comment