summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-11-04 07:26:37 -0700
committerAndroid Code Review <code-review@android.com>2010-11-04 07:26:37 -0700
commit5580e44c250944f5cd011b2682eea5cc2de9706c (patch)
treee49d19666d7ad5f0f2e9e980f488b0085f163db6 /tools
parentdb2403ff3251bebb5dd6bdb98f826a8e04dc6ed1 (diff)
parent2fda9f45623e888f71c6ea769305ccc4d9e76af2 (diff)
downloadframeworks_base-5580e44c250944f5cd011b2682eea5cc2de9706c.zip
frameworks_base-5580e44c250944f5cd011b2682eea5cc2de9706c.tar.gz
frameworks_base-5580e44c250944f5cd011b2682eea5cc2de9706c.tar.bz2
Merge "Support changing style parent in overlays"
Diffstat (limited to 'tools')
-rw-r--r--tools/aapt/ResourceTable.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp
index a2f085a..82c143d 100644
--- a/tools/aapt/ResourceTable.cpp
+++ b/tools/aapt/ResourceTable.cpp
@@ -1629,13 +1629,6 @@ status_t ResourceTable::startBag(const SourcePos& sourcePos,
// If a parent is explicitly specified, set it.
if (bagParent.size() > 0) {
- String16 curPar = e->getParent();
- if (curPar.size() > 0 && curPar != bagParent) {
- sourcePos.error("Conflicting parents specified, was '%s', now '%s'\n",
- String8(e->getParent()).string(),
- String8(bagParent).string());
- return UNKNOWN_ERROR;
- }
e->setParent(bagParent);
}
@@ -1683,13 +1676,6 @@ status_t ResourceTable::addBag(const SourcePos& sourcePos,
// If a parent is explicitly specified, set it.
if (bagParent.size() > 0) {
- String16 curPar = e->getParent();
- if (curPar.size() > 0 && curPar != bagParent) {
- sourcePos.error("Conflicting parents specified, was '%s', now '%s'\n",
- String8(e->getParent()).string(),
- String8(bagParent).string());
- return UNKNOWN_ERROR;
- }
e->setParent(bagParent);
}