| commit | ca1691702b132d72494aeb774243dc4a4b0a8602 | [log] [tgz] |
|---|---|---|
| author | Matías Hernández <matiashe@google.com> | Mon Sep 02 19:02:25 2024 +0200 |
| committer | Matías Hernández <matiashe@google.com> | Mon Sep 02 19:02:25 2024 +0200 |
| tree | 347734cccbd3b89a8359bcf9e14d617bbbd37558 | |
| parent | ee215211c08a44ee38bd6c143c4ac70a1eeef3d6 [diff] |
Don't fail to deserialize a ZenRule if it has an invalid filter value This was the only case where readRuleXml() returned null. Making it NonNull simplifies callers (and removes a possible exception when the manual rule is involved). Fixes: 357902620 Test: atest ZenModeConfigTest ZenModeHelperTest Flag: EXEMPT trivial fix Change-Id: Ibe1884e6b286d32f845de143ef526ac3ec38fa8f