commit | b7814e8c32595655ab0b80e051d41d343830a2bc | [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 | caca3a9f5ad15c9a04408e69f611d45ebf42079b [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)