mer-hybris / libgbinder

GLib-style interface to binder
BSD 3-Clause "New" or "Revised" License
50 stars 42 forks source link

Use BINDER_TYPE_HANDLE for NULL binders #99

Closed monich closed 2 years ago

monich commented 2 years ago

That's what Parcel.cpp seems to be doing on the Android side

NotKit commented 2 years ago

Looks good to me, should be fine all the way back to Oreo: https://android.googlesource.com/platform/frameworks/native/+/refs/heads/android11-mainline-release/libs/binder/Parcel.cpp#245