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

Commit b8f07400 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Automerger Merge Worker
Browse files

Merge changes from topic "presubmit-am-877e172c4fa74f85876fa80ed0ef9e2b" into...

Merge changes from topic "presubmit-am-877e172c4fa74f85876fa80ed0ef9e2b" into tm-mainline-prod am: c1748393

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17491592



Change-Id: Ic6852eccd9b7f06ffb95fef4a249a6acf660d6d6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents e31e7c72 c1748393
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -623,6 +623,11 @@ public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>>

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        if (!mPhysicalCameraSettings.containsKey(mLogicalCameraId)) {
            throw new IllegalStateException("Physical camera settings map must contain a key for "
                    + "the logical camera id.");
        }

        int physicalCameraCount = mPhysicalCameraSettings.size();
        dest.writeInt(physicalCameraCount);
        //Logical camera id and settings always come first.