summaryrefslogtreecommitdiff
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-10-02 06:58:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-10-02 06:58:39 +0000
commit316296511bf12c4e14dfb6f54731d1a515114abf (patch)
treee8a00555870780e85e659f4bcdc8be7c9516e15d /tools/aapt/XMLNode.cpp
parent0ce259c2f69cefd09342a95fbbd4c1a63a0af484 (diff)
parentb8dc7bc582ee4acd9d6c1379701a002c5ddbe323 (diff)
Merge "Frameworks/base: Fix more aapt issues"
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r--tools/aapt/XMLNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp
index fd3f5735530d..cda24ebe88be 100644
--- a/tools/aapt/XMLNode.cpp
+++ b/tools/aapt/XMLNode.cpp
@@ -989,7 +989,7 @@ status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets,
for (size_t i=0; i<N; i++) {
const attribute_entry& e = mAttributes.itemAt(i);
if (e.ns.size() <= 0) continue;
- bool nsIsPublic;
+ bool nsIsPublic = true;
String16 pkg(getNamespaceResourcePackage(String16(assets->getPackage()), e.ns, &nsIsPublic));
if (kIsDebug) {
printf("Elem %s %s=\"%s\": namespace(%s) %s ===> %s\n",