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

Commit b267e736 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "Status: don't ignore status in writeToParcel" am: c18cb392 am:...

Merge "Status: don't ignore status in writeToParcel" am: c18cb392 am: 0c73900c am: 0c2c674d am: 409dac47 am: 8c54c420

Change-Id: I6d4d1ad3cb1d973b2214bd28055f4c658eb14229
parents 0d38defa 8c54c420
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -193,13 +193,15 @@ status_t Status::writeToParcel(Parcel* parcel) const {
    }

    status_t status = parcel->writeInt32(mException);
    if (status != OK) { return status; }
    if (status != OK) return status;
    if (mException == EX_NONE) {
        // We have no more information to write.
        return status;
    }
    status = parcel->writeString16(String16(mMessage));
    if (status != OK) return status;
    status = parcel->writeInt32(0); // Empty remote stack trace header
    if (status != OK) return status;
    if (mException == EX_SERVICE_SPECIFIC) {
        status = parcel->writeInt32(mErrorCode);
    } else if (mException == EX_PARCELABLE) {