diff options
author | Adam Lesinski <adamlesinski@google.com> | 2018-02-09 11:12:22 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2018-02-09 12:43:24 -0800 |
commit | bde1df21adf264d3398b9f3274f353faa6399008 (patch) | |
tree | 51909e52f6741528e2b6f69923affc43410e40f2 /libs/androidfw/tests/BenchmarkHelpers.cpp | |
parent | 2a447172a5b8c4fdb8527602144691802c492c2e (diff) |
Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit 1187590da38457809dd368d4901c9c47ac5a6958.
Bug: 73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
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; |