]> git.saurik.com Git - android/aapt.git/commitdiff
GL texture filtering changed from AND to OR, so rename tag name to match.
authorDan Morrill <morrildl@google.com>
Tue, 14 Dec 2010 00:25:54 +0000 (16:25 -0800)
committerDan Morrill <morrildl@google.com>
Tue, 14 Dec 2010 00:25:54 +0000 (16:25 -0800)
(<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs.
supports-screen).

Change-Id: I0f20aed7f95169d9adfc7fe128191eb6e49d116f

Command.cpp

index 661ecb1d4395145eb06b8e013d4f1fec53f66fe6..739763edca34ed831a4d7815f1f25979a4b9a951 100644 (file)
@@ -904,10 +904,10 @@ int doDump(Bundle* bundle)
                                     error.string());
                                 goto bail;
                         }
-                    } else if (tag == "uses-gl-texture") {
+                    } else if (tag == "supports-gl-texture") {
                         String8 name = getAttribute(tree, NAME_ATTR, &error);
                         if (name != "" && error == "") {
-                            printf("uses-gl-texture:'%s'\n", name.string());
+                            printf("supports-gl-texture:'%s'\n", name.string());
                         } else {
                             fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n",
                                     error.string());