]> git.saurik.com Git - android/aapt.git/blobdiff - Resource.cpp
am 9485ca87: am b54f371c: am f8aea993: Make aapt ignore tools-related data.
[android/aapt.git] / Resource.cpp
index 1ecf7daef123edad3147a9a5f848bffd1915bdc2..c0fe5380afa5a6f7f71d29a1e6f1721cc93ff6a0 100644 (file)
@@ -847,8 +847,7 @@ status_t buildResources(Bundle* bundle, const sp<AaptAssets>& assets)
      * request UTF-16 encoding and the parameters of this package
      * allow UTF-8 to be used.
      */
-    if (!bundle->getWantUTF16()
-            && bundle->isMinSdkAtLeast(SDK_FROYO)) {
+    if (!bundle->getUTF16StringsOption()) {
         xmlFlags |= XML_COMPILE_UTF8;
     }