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

Commit 4273873a authored by Kwangkyu Park's avatar Kwangkyu Park Committed by Ravneet Dhanjal
Browse files

Camera: Fix OutputConfiguration parcel order

Java OutputConfiguration readParcel is done in a different order from
other parcelings.

This will fix the order to the right one.

Bug: 293260568
Test: Manual test with native to java transaction
Change-Id: I17cef893d1095ab014e20404e4447308daa0640d
parent de355670
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1193,12 +1193,12 @@ public final class OutputConfiguration implements Parcelable {
        String physicalCameraId = source.readString();
        boolean isMultiResolutionOutput = source.readInt() == 1;
        int[] sensorPixelModesUsed = source.createIntArray();
        long streamUseCase = source.readLong();

        checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant");
        long dynamicRangeProfile = source.readLong();
        DynamicRangeProfiles.checkProfileValue(dynamicRangeProfile);
        int colorSpace = source.readInt();
        long streamUseCase = source.readLong();

        int timestampBase = source.readInt();
        int mirrorMode = source.readInt();