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

Commit 6543fc18 authored by vichang's avatar vichang Committed by Automerger Merge Worker
Browse files

Merge "Update CharacterEncodingDetector.cpp to remove TRUE/FALSE macro usage...

Merge "Update CharacterEncodingDetector.cpp to remove TRUE/FALSE macro usage due to ICU 68" am: 4886c494 am: d2bceb08 am: 00637563

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1554498

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3720c440ecfe4a8f2fcb8998c1640e47c39280fa
parents 4d1328af 00637563
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);