From 5b9847ca3fbcd0bb2528dd2b4c0b789e2d501684 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Mon, 30 Nov 2015 21:07:44 +0000 Subject: Revert "Implement AAPT Bundle format" This reverts commit 9d0f7d44d5cc5322415f52f7ce03cc37a478b350. Caused a build breakage when parsing some attributes. Change-Id: I89ca958b2f2e820d353648df8aadd90bbe8d8339 --- tools/aapt/XMLNode.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'tools/aapt/XMLNode.cpp') diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp index 5b215daeb494..dc08eb806356 100644 --- a/tools/aapt/XMLNode.cpp +++ b/tools/aapt/XMLNode.cpp @@ -693,12 +693,6 @@ const Vector >& XMLNode::getChildren() const return mChildren; } - -Vector >& XMLNode::getChildren() -{ - return mChildren; -} - const String8& XMLNode::getFilename() const { return mFilename; @@ -723,18 +717,6 @@ const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, return NULL; } -bool XMLNode::removeAttribute(const String16& ns, const String16& name) -{ - for (size_t i = 0; i < mAttributes.size(); i++) { - const attribute_entry& ae(mAttributes.itemAt(i)); - if (ae.ns == ns && ae.name == name) { - removeAttribute(i); - return true; - } - } - return false; -} - XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, const String16& name) { -- cgit v1.2.3-59-g8ed1b