]> git.saurik.com Git - android/aapt.git/commitdiff
am 4da6efc8: am 46151652: Merge "fix xlarge support in aapt for gingerbread" into...
authorScott Main <smain@google.com>
Sat, 6 Nov 2010 23:24:28 +0000 (16:24 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Sat, 6 Nov 2010 23:24:28 +0000 (16:24 -0700)
* commit '4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c':
  fix xlarge support in aapt for gingerbread

1  2 
Command.cpp

diff --combined Command.cpp
index e9833c993c8306981227bc24ee562ef689e97070,661ecb1d4395145eb06b8e013d4f1fec53f66fe6..16fa95a1c5196d6ae40efb5742d0123dfb383ec2
@@@ -198,10 -198,8 +198,10 @@@ int doList(Bundle* bundle
          if (&res == NULL) {
              printf("\nNo resource table found.\n");
          } else {
 +#ifndef HAVE_ANDROID_OS
              printf("\nResource table:\n");
              res.print(false);
 +#endif
          }
  
          Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
@@@ -430,9 -428,8 +430,9 @@@ int doDump(Bundle* bundle
      }
  
      if (strcmp("resources", option) == 0) {
 +#ifndef HAVE_ANDROID_OS
          res.print(bundle->getValues());
 -
 +#endif
      } else if (strcmp("xmltree", option) == 0) {
          if (bundle->getFileSpecCount() < 3) {
              fprintf(stderr, "ERROR: no dump xmltree resource file specified\n");
                  largeScreen = targetSdk >= 4 ? -1 : 0;
              }
              if (xlargeScreen > 0) {
-                 // Introduced in Honeycomb.
-                 xlargeScreen = targetSdk >= 10 ? -1 : 0;
+                 // Introduced in Gingerbread.
+                 xlargeScreen = targetSdk >= 9 ? -1 : 0;
              }
              if (anyDensity > 0) {
                  anyDensity = targetSdk >= 4 ? -1 : 0;