]> git.saurik.com Git - android/aapt.git/blobdiff - Main.cpp
Fix minSdkVersion scanning to not throw warnings
[android/aapt.git] / Main.cpp
index dd98c85069c04a6963dba18c49efe88ccde046e7..b0c6e3975b51629e926c7e305a9f505493035860 100644 (file)
--- a/Main.cpp
+++ b/Main.cpp
@@ -446,8 +446,7 @@ int main(int argc, char* const argv[])
                     }
                     bundle.setCustomPackage(argv[0]);
                 } else if (strcmp(cp, "-utf16") == 0) {
                     }
                     bundle.setCustomPackage(argv[0]);
                 } else if (strcmp(cp, "-utf16") == 0) {
-                    bundle.setEncodingSpecified(true);
-                    bundle.setUTF8(false);
+                    bundle.setWantUTF16(true);
                 } else if (strcmp(cp, "-rename-manifest-package") == 0) {
                     argc--;
                     argv++;
                 } else if (strcmp(cp, "-rename-manifest-package") == 0) {
                     argc--;
                     argv++;