diff options
| author | 2024-01-10 12:11:45 +0100 | |
|---|---|---|
| committer | 2024-01-16 23:32:12 +0000 | |
| commit | ecae5c68b858787e55cb803baf72f2807d18c200 (patch) | |
| tree | 4c388ac7c33ad0488fdd4388882a58f37ae98ee7 /libs/input/TouchSpotController.cpp | |
| parent | 91367a7db89db5239ea69d4fb5a70d3652a2c1a7 (diff) | |
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
Diffstat (limited to 'libs/input/TouchSpotController.cpp')
0 files changed, 0 insertions, 0 deletions