Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 089ce4b2 authored by Matías Hernández's avatar Matías Hernández
Browse files

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
parent ed46d368
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment