Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0053771e authored by Victor Chang's avatar Victor Chang
Browse files

Update CharacterEncodingDetector.cpp to remove TRUE/FALSE macro usage due to ICU 68

See details at https://unicode-org.atlassian.net/browse/ICU-21267

Bug: 160356314
Test: m droid
Change-Id: Ida74383fc92b63fd1529049e96a486639302f54d
parent 4bc812d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ void CharacterEncodingDetector::detectAndConvert() {

                ucnv_convertEx(mUtf8Conv, conv, &target, target + targetLength,
                        &source, source + strlen(source),
                        NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
                        NULL, NULL, NULL, NULL, true, true, &status);

                if (U_FAILURE(status)) {
                    ALOGE("ucnv_convertEx failed: %d", status);