X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/5d0c7348b937381dfd2d0948aa54dbbad399e321..4f41c7f7892c7e65393723aa8fdffc236d959fb7:/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; }