X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/5af431483a08f10bea3834db1ee7304e735c359c..b935e64360db2f6f0159b879a810ad4428c87ce9:/ResourceTable.cpp?ds=inline diff --git a/ResourceTable.cpp b/ResourceTable.cpp index 66db450..a2f085a 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -2527,7 +2527,7 @@ status_t ResourceTable::flatten(Bundle* bundle, const sp& dest) const size_t N = mOrderedPackages.size(); size_t pi; - bool useUTF8 = !bundle->getWantUTF16() && bundle->isUTF8Available(); + bool useUTF8 = !bundle->getWantUTF16() && bundle->isMinSdkAtLeast(SDK_FROYO); // Iterate through all data, collecting all values (strings, // references, etc).