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

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

Remove AutomaticZenRule.canUpdate()

Instead, store the user-modified bitmasks directly in the ZenRule, since only ZenModeHelper needs to access them. Updated tests to match. This also re-hides a bunch of TestApis since CTS will no longer verify this.

Also validate that the origins supplied to ZenModeHelper make sense (for the "API" methods, called from NMS, only user/systemui/app is expected).

Test: atest ZenModeHelperTest ZenModeConfigTest
Fixes: 320271785
Fixes: 318506692
Change-Id: Ied6351aa0a4b473145876e80589e5ad16db18553
parent 91367a7d
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