summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Chang <vichang@google.com>2021-01-21 13:41:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-21 13:41:03 +0000
commit6451abb3a776a20cd828530bb8ff2f1a60c9bc8f (patch)
treed66e9f24888288a8aba7a8fda1451ff790bf0082
parentbcdfce14e27f8043f29aae20bc7a06cb56e60002 (diff)
parentd1ca2373179e747baec3071412dfbccaf627940f (diff)
downloadminikin-6451abb3a776a20cd828530bb8ff2f1a60c9bc8f.tar.gz
Update LocaleListCache.cpp to remove TRUE/FALSE macros deprecated in ICU 68 am: 99784d8e1d am: 2215fb4a11 am: d1ca237317
Original change: https://android-review.googlesource.com/c/platform/frameworks/minikin/+/1551373 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I433e90a990fa6433f1b1b95645d945bc2f2fa469
-rw-r--r--libs/minikin/LocaleListCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/minikin/LocaleListCache.cpp b/libs/minikin/LocaleListCache.cpp
index dceb79b..7065272 100644
--- a/libs/minikin/LocaleListCache.cpp
+++ b/libs/minikin/LocaleListCache.cpp
@@ -72,7 +72,7 @@ static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& loc
}
uErr = U_ZERO_ERROR;
- outLength = uloc_toLanguageTag(likelyChars, output, outSize, FALSE, &uErr);
+ outLength = uloc_toLanguageTag(likelyChars, output, outSize, false, &uErr);
if (U_FAILURE(uErr)) {
// unable to build a proper locale identifier
ALOGD("uloc_toLanguageTag(\"%s\") failed: %s", likelyChars, u_errorName(uErr));