commit | 4a23901e50466d05ed7246e840f983bd4e9fc545 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Tue Jul 20 18:12:53 2021 -0700 |
committer | Yu Shan <shanyu@google.com> | Wed Jul 21 17:48:40 2021 -0700 |
tree | 72f1ee3eae960f5c98b233b8c0aa52ed4256540e | |
parent | 656882ac79a1ae2545e8643c7b7b6d15430ea01f [diff] |
Support vendor override in default VHAL. Move vendor override property logic from emulated VHAL to default VHAL. If system property "persist.vendor.vhal_init_value_override" is set, then we would try to parse JSON files in "/vendor/etc/vhaloverride/" and use the values there to override the default initial values. Test: unit test Bug: 193831021 Change-Id: I6823aab3de284d5b1d96186bc9f1325d868fd8d6