X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/d205df67d395fad69fc0d9b43399b0dd51daa14f..2ec24e7b6c2877528f962af62579bf0d70df06cb:/Resource.cpp diff --git a/Resource.cpp b/Resource.cpp index 1ecf7da..c0fe538 100644 --- a/Resource.cpp +++ b/Resource.cpp @@ -847,8 +847,7 @@ status_t buildResources(Bundle* bundle, const sp& 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; }