commit | c04e7d74d91c7d3a1f57b427b85a099240614e6e | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Feb 26 14:57:20 2020 -0800 |
committer | Josh Gao <jmgao@google.com> | Fri Feb 28 15:20:29 2020 -0800 |
tree | 011bd571fd1f32a60323d77c3e458c86cb7ac3c6 | |
parent | 10986940d72eedf8ccc60d7e3f06fd1fae9aa7fc [diff] |
base: add CachedProperty. Copy bionic's CachedProperty with some minor API tweaks, to allow for efficient querying of properties that rarely change. Bug: http://b/141959374 Test: treehugger Change-Id: I4dfc3f527d30262b35e871d256cec69e69f2e1d7 (cherry picked from commit 891e6dad73699d7b67861705843f95ba19ca5c4d)