]> git.saurik.com Git - android/aapt.git/commitdiff
am 5441a9ff: Merge "GL texture filtering changed from AND to OR, so rename tag name...
authorDan Morrill <morrildl@google.com>
Tue, 14 Dec 2010 19:28:50 +0000 (11:28 -0800)
committerAndroid Git Automerger <android-git-automerger@android.com>
Tue, 14 Dec 2010 19:28:50 +0000 (11:28 -0800)
* commit '5441a9ff2128cf2c5088974c74b79d2d1734f755':
  GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen).

ResourceTable.cpp

index 29644a69b4c7bee075b5616658312ff696a7dea0..fc576a67f10d383d5ef6ffa8ba3e469979f10288 100644 (file)
@@ -1724,13 +1724,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);
     }
 
@@ -1778,13 +1771,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);
     }