diff options
author | Adam Lesinski <adamlesinski@google.com> | 2018-01-25 15:38:58 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2018-01-25 17:39:40 -0800 |
commit | f7d01dd7e14e01420c39e7fb8eca3cfa0f5f31b6 (patch) | |
tree | 2ac2502467b144cc9a777f484e6b64aa37d30047 /libs/androidfw/tests/BenchmarkHelpers.cpp | |
parent | 646265cb2a4af0b1b795fbb2f76ad424ce97cba3 (diff) |
Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit dcb3c6559b09ec89771858ec27a787027da9af50.
Bug:72511998
Change-Id: I665966ca109f66f85d8665db388c71ea2303c3b8
Diffstat (limited to 'libs/androidfw/tests/BenchmarkHelpers.cpp')
-rw-r--r-- | libs/androidfw/tests/BenchmarkHelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/androidfw/tests/BenchmarkHelpers.cpp b/libs/androidfw/tests/BenchmarkHelpers.cpp index a8abcb5df86c..7149beef797f 100644 --- a/libs/androidfw/tests/BenchmarkHelpers.cpp +++ b/libs/androidfw/tests/BenchmarkHelpers.cpp @@ -33,12 +33,12 @@ void GetResourceBenchmarkOld(const std::vector<std::string>& paths, const ResTab } } - // Make sure to force creation of the ResTable first, or else the configuration doesn't get set. - const ResTable& table = assetmanager.getResources(true); if (config != nullptr) { assetmanager.setConfiguration(*config); } + const ResTable& table = assetmanager.getResources(true); + Res_value value; ResTable_config selected_config; uint32_t flags; |