commit | 656882ac79a1ae2545e8643c7b7b6d15430ea01f | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Tue Jul 20 13:27:29 2021 -0700 |
committer | Yu Shan <shanyu@google.com> | Wed Jul 21 16:46:33 2021 -0700 |
tree | 4901bf37fcd97ba36d2811fca5ad08bdf29180f8 | |
parent | e39d394270f464fe5bc0de8fa7da4fe8246396da [diff] |
Add areaId check. According to types.hal, a non-global properties should have areaConfigs that define allowed areaIds. We need to check that the areaId is in the areaConfigs list before setting the value to prevent unexpected behavior. Test: unit test. Bug: 193831021 Change-Id: I90faf808aa6ac5278e99cf6313454515afaaca2f