commit | 31c6d82be040ddd345fe539016d6d59e428adeb3 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Dec 25 16:48:33 2020 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Dec 25 16:48:33 2020 +0900 |
tree | 756c29aecfac16ba2334b44396c9eb59982549ce | |
parent | a744975b3e9016fc0de2dd47c39d1d99c13adf5b [diff] |
Add DeviceConfigUtils version caching and tests Querying the APK version can be relatively expensive, so cache it with a static. Package version cannot change without restarting the process. Also add some testing for flags being equal to the min/max values. Bug: 17454103 Test: atest NetworkStaticLibTests Change-Id: I18c298beb843e0a9f76162d353623bb15ab155f1