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

Commit 84825237 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

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

Change-Id: I5ddf7809e4b7b6371fc700afbf5427eff5eab206
parents a5d05a33 dd8ab562
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>);