User toggling of a mode overrides automatic triggering
This reimplements "snoozing" (manually deactivating an active mode) and the opposite operation (manually activating an inactive mode) with the same semantics (the rule owner can only change a manually-applied state after cycling to and then away from that state). It also removes the attempt in ConditionProviders, which was incorrect (and didn't have enough information to make the decision there). Also fix getAutomaticZenRuleState() which didn't consider snoozing and reported a rule as active in that case (oops). Bug: 333527800 Test: unit test + cts + manual Flag: android.app.modes_ui Change-Id: Iebc9d5aad194fb0415960cccf4d3c2b8c4fc5e5a
Loading
Please register or sign in to comment