summaryrefslogtreecommitdiffstats
path: root/cmds/idmap/scan.cpp
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2014-10-22 09:00:49 -0700
committerBill Yi <byi@google.com>2014-10-22 09:00:49 -0700
commit5a71f83227f0340a265f34b226d8fe01d4dd9773 (patch)
tree9e74435ad8e21fe6ace6a1c49ca2f596c60ced34 /cmds/idmap/scan.cpp
parent52656916e35b08013bf776b3603d6cecba287a1e (diff)
parenta0d07d49b8b0aae71beb48ec31b43f6923530d00 (diff)
downloadframeworks_base-5a71f83227f0340a265f34b226d8fe01d4dd9773.zip
frameworks_base-5a71f83227f0340a265f34b226d8fe01d4dd9773.tar.gz
frameworks_base-5a71f83227f0340a265f34b226d8fe01d4dd9773.tar.bz2
Merge lmp-dev-plus-aosp-without-vendor into stage-aosp-master
Change-Id: I7063b7b52e9c09a57eb6bf3b4ffa3716d58ebf43
Diffstat (limited to 'cmds/idmap/scan.cpp')
-rw-r--r--cmds/idmap/scan.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/idmap/scan.cpp b/cmds/idmap/scan.cpp
index c5fc941..1153f38 100644
--- a/cmds/idmap/scan.cpp
+++ b/cmds/idmap/scan.cpp
@@ -119,7 +119,8 @@ namespace {
int parse_manifest(const void *data, size_t size, const char *target_package_name)
{
- ResXMLTree parser(data, size);
+ ResXMLTree parser;
+ parser.setTo(data, size);
if (parser.getError() != NO_ERROR) {
ALOGD("%s failed to init xml parser, error=0x%08x\n", __FUNCTION__, parser.getError());
return -1;