Merge "libbinder: warn on null binder read" am: dba92c2a35 am: 4c4e2aa6f8

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

Change-Id: I4b4df2552b2173b76bdf147707e9ae1135470ae6
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 504c6c2..a217a15 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -1862,6 +1862,7 @@
 {
     status_t status = readNullableStrongBinder(val);
     if (status == OK && !val->get()) {
+        ALOGW("Expecting binder but got null!");
         status = UNEXPECTED_NULL;
     }
     return status;