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

Commit c07f9b4a authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Don't write ViewConfigurationParams to parcel without flag enabled

Fixes: 409247764
Flag: EXEMPT bug fix
Test: atest CtsHardwareTestCases
Test: atest CtsVirtualDevicesAppLaunchTestCases
Change-Id: I05027f26daa1ce59ce9d43524426566b3a19752a
parent 1491f937
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -657,8 +657,10 @@ public final class VirtualDeviceParams implements Parcelable {
        dest.writeTypedObject(mInputMethodComponent, flags);
        dest.writeLong(mDimDuration);
        dest.writeLong(mScreenOffTimeout);
        if (Flags.viewconfigurationApis()) {
            dest.writeTypedObject(mViewConfigurationParams, flags);
        }
    }

    @Override
    public boolean equals(Object o) {