diff options
| author | 2023-12-19 11:48:49 +0100 | |
|---|---|---|
| committer | 2023-12-27 14:58:06 +0100 | |
| commit | 7e5a5b1a67fa7d7059e37906b6e8d548b134e053 (patch) | |
| tree | 408fe8120c4a59e61197ae2af9beeb58b030749f /libs/androidfw/StringPool.cpp | |
| parent | b017819a05be0c7ffb85f3d62f87e8c1256a0051 (diff) | |
Support zen rules with INTERRUPTION_FILTER_ALL
This was already mostly supported. In this CL:
* We skip such rules when calculating consolidated policy (they should apply no filtering criteria, and accidentally could if _other_ rules were also active).
* We log whenever rules are activated or deactivated, even if the resulting DND state is unchanged and ZEN_MODE_OFF (previously this was not logged).
* We don't log a DNDPolicyProto if DND is off (more accurate with actual behavior).
Test: atest ZenModeHelperTest
Bug: 308673419
Change-Id: I49518027f74e7d8e7f641b783899f98e4992120a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions