From: Dan Morrill Date: Fri, 15 Oct 2010 15:33:00 +0000 (-0700) Subject: am b58af2b8: am 5c62ab0a: Merge "Adding a new tag, to be used... X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/5d85c6dedf7a936383c23ded6104fc714650c967?hp=11afe4e56cc46151ef1661de026822a6836a6925 am b58af2b8: am 5c62ab0a: Merge "Adding a new tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats." into gingerbread Merge commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0' * commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0': Adding a new tag, to be used to enable apps to specify --- diff --git a/Command.cpp b/Command.cpp index eaff0f4..4469e68 100644 --- a/Command.cpp +++ b/Command.cpp @@ -874,6 +874,15 @@ int doDump(Bundle* bundle) error.string()); goto bail; } + } else if (tag == "uses-gl-texture") { + String8 name = getAttribute(tree, NAME_ATTR, &error); + if (name != "" && error == "") { + printf("uses-gl-texture:'%s'\n", name.string()); + } else { + fprintf(stderr, "ERROR getting 'android:name' attribute: %s\n", + error.string()); + goto bail; + } } } else if (depth == 3 && withinApplication) { withinActivity = false;