commit | bcc7865ed6be3900ff7184a560148a6ff9b5f7ca | [log] [tgz] |
---|---|---|
author | Yuri Lin <yurilin@google.com> | Mon Dec 19 17:24:31 2022 -0500 |
committer | Yuri Lin <yurilin@google.com> | Tue Dec 20 11:50:27 2022 -0500 |
tree | b5ef51bed0c9b9cd5b23528696ec7339c178f41f | |
parent | 08ea7a84f1cf6c368e40d0c3a8d5212f947a9a69 [diff] |
Limit the size of lists in ZenPolicy These lists are already size-limited by the set of things they may depict, but this change enforces the list sizes upon reading from a parcel in case any callers change the list sizes via reflection or something like it. Bug: 251427644 Test: atest ZenPolicyTest Change-Id: I301ee58afa03b6695294e8a46280169ecbbd3ba1