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

Commit bab6894a 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: 22082f2d

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

Change-Id: Id6470152db903d919e3c90cf18cccc0ee02f8762
parents 8e73c9c0 22082f2d
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>);