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

Commit 2a4b85a6 authored by Pablo Ceballos's avatar Pablo Ceballos Committed by android-build-merger
Browse files

camera2: Add parcel/unparcel for missing Surface field. am: ccdf3e2f

am: 5f2706f5

Change-Id: I554aa0c07d4376aa9dcfc7e1cc9f9f7e3f8b5d0c
parents 249013c7 5f2706f5
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);
    }