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/LoadedArsc.cpp | |
parent | 646265cb2a4af0b1b795fbb2f76ad424ce97cba3 (diff) |
Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit dcb3c6559b09ec89771858ec27a787027da9af50.
Bug:72511998
Change-Id: I665966ca109f66f85d8665db388c71ea2303c3b8
Diffstat (limited to 'libs/androidfw/LoadedArsc.cpp')
-rw-r--r-- | libs/androidfw/LoadedArsc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/androidfw/LoadedArsc.cpp b/libs/androidfw/LoadedArsc.cpp index e08848f891f6..28548e27baf0 100644 --- a/libs/androidfw/LoadedArsc.cpp +++ b/libs/androidfw/LoadedArsc.cpp @@ -324,6 +324,8 @@ bool LoadedPackage::FindEntry(const TypeSpecPtr& type_spec_ptr, uint16_t entry_i bool LoadedPackage::FindEntry(uint8_t type_idx, uint16_t entry_idx, const ResTable_config& config, FindEntryResult* out_entry) const { + ATRACE_CALL(); + // If the type IDs are offset in this package, we need to take that into account when searching // for a type. const TypeSpecPtr& ptr = type_specs_[type_idx - type_id_offset_]; |