summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Chang <vichang@google.com>2021-01-19 16:55:07 +0000
committerVictor Chang <vichang@google.com>2021-01-20 13:51:24 +0000
commit99784d8e1d70b2f54f56a10322e8336c9b3d7d7c (patch)
tree0c0341f55c0b14a4a4b9ee1fb52c0c307f2e4c6b
parent43e9b5763fc8103af2f5dc21ec6aa4b06c7802d5 (diff)
downloadminikin-99784d8e1d70b2f54f56a10322e8336c9b3d7d7c.tar.gz
Update LocaleListCache.cpp to remove TRUE/FALSE macros deprecated in ICU 68
See details at https://unicode-org.atlassian.net/browse/ICU-21267 Bug: 160356314 Test: m droid Change-Id: I17e02e04471dd241d27c49aceeabcc6ef2972556
-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 e4adb12..eaf55ef 100644
--- a/libs/minikin/LocaleListCache.cpp
+++ b/libs/minikin/LocaleListCache.cpp
@@ -71,7 +71,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));