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

Commit 8e7b58c0 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "camera2: Add parcel/unparcel for missing Surface field." into nyc-mr1-dev

parents 5316f999 ccdf3e2f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ status_t CaptureRequest::readFromParcel(const Parcel* parcel) {
        const char16_t* name = parcel->readString16Inplace(&len);
        ALOGV("%s: Read surface name = %s", __FUNCTION__,
            name != NULL ? String8(name).string() : "<null>");
        parcel->readInt32();
        sp<IBinder> binder(parcel->readStrongBinder());
        ALOGV("%s: Read surface binder = %p",
              __FUNCTION__, binder.get());
@@ -123,6 +124,7 @@ status_t CaptureRequest::writeToParcel(Parcel* parcel) const {

        // Surface.writeToParcel
        parcel->writeString16(String16("unknown_name"));
        parcel->writeInt32(0);
        // Surface.nativeWriteToParcel
        parcel->writeStrongBinder(binder);
    }