diff options
-rw-r--r-- | libs/androidfw/AssetManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/AssetManager.cpp b/libs/androidfw/AssetManager.cpp index e6e45633dc4..f99154ea6fd 100644 --- a/libs/androidfw/AssetManager.cpp +++ b/libs/androidfw/AssetManager.cpp @@ -421,7 +421,7 @@ String8 AssetManager::getPkgName(const char *apkPath) { Asset* manifestAsset = openNonAssetInPathLocked(kAndroidManifest, Asset::ACCESS_BUFFER, ap); tree.setTo(manifestAsset->getBuffer(true), - manifestAsset->getLength()); + manifestAsset->getLength(), true); tree.restart(); size_t len; |