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

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

Change-Id: I2084f5d52bd245301de91df46e99e9ef32e68be6
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;