X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/d857134ffaaa69b7b468222eb9e7152c49ac1551..b6cda18d75f0a1fcf3cc54edf0ad018a5100fcc7:/Command.cpp?ds=sidebyside diff --git a/Command.cpp b/Command.cpp index e04491d..5f80ade 100644 --- a/Command.cpp +++ b/Command.cpp @@ -321,6 +321,7 @@ enum { LABEL_ATTR = 0x01010001, ICON_ATTR = 0x01010002, MIN_SDK_VERSION_ATTR = 0x0101020c, + MAX_SDK_VERSION_ATTR = 0x01010271, REQ_TOUCH_SCREEN_ATTR = 0x01010227, REQ_KEYBOARD_TYPE_ATTR = 0x01010228, REQ_HARD_KEYBOARD_ATTR = 0x01010229, @@ -585,6 +586,10 @@ int doDump(Bundle* bundle) targetSdk = code; printf("sdkVersion:'%d'\n", code); } + code = getIntegerAttribute(tree, MAX_SDK_VERSION_ATTR, NULL, -1); + if (code != -1) { + printf("maxSdkVersion:'%d'\n", code); + } code = getIntegerAttribute(tree, TARGET_SDK_VERSION_ATTR, &error); if (error != "") { error = "";