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

Commit 78141043 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libbinder_ndk: do not rely on copyability of parcelables" am:...

Merge "libbinder_ndk: do not rely on copyability of parcelables" am: 22082f2d am: bab6894a am: dd8ab562 am: 84825237

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1918640

Change-Id: I2f3908511db47696ca744e1cf655e7f06b2f454f
parents 1dc4e311 84825237
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ static inline binder_status_t AParcel_readNullableParcelable(const AParcel* parc
            *p = std::nullopt;
            return STATUS_OK;
        }
        *p = std::optional<first_template_type_t<P>>(first_template_type_t<P>{});
        p->emplace(first_template_type_t<P>());
        return (*p)->readFromParcel(parcel);
    } else {
        static_assert(is_specialization_v<P, std::unique_ptr>);