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

Commit 372c23a2 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7022639 from 082832d9 to rvc-qpr2-release

Change-Id: I2d1e868f8f5d109b9d4fc2598f8f9b0e52ba162a
parents 20522b21 082832d9
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1882,8 +1882,11 @@ const char* Parcel::readString8Inplace(size_t* outLen) const
        *outLen = size;
        const char* str = (const char*)readInplace(size+1);
        if (str != nullptr) {
            if (str[size] == '\0') {
                return str;
            }
            android_errorWriteLog(0x534e4554, "172655291");
        }
    }
    *outLen = 0;
    return nullptr;
@@ -1942,8 +1945,11 @@ const char16_t* Parcel::readString16Inplace(size_t* outLen) const
        *outLen = size;
        const char16_t* str = (const char16_t*)readInplace((size+1)*sizeof(char16_t));
        if (str != nullptr) {
            if (str[size] == u'\0') {
                return str;
            }
            android_errorWriteLog(0x534e4554, "172655291");
        }
    }
    *outLen = 0;
    return nullptr;