summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Christopher Wiley <wiley@google.com> 2016-07-19 09:23:25 -0700
committer Christopher Wiley <wiley@google.com> 2016-07-19 09:34:05 -0700
commit447b00fd55c90a7b2ad3cef74fb3754fec243fa6 (patch)
tree05a3e1fab99a737161f06e6415a12124e11167d6 /libs/gui/ConsumerBase.cpp
parent7d8f246415075326557b0ebbf95050b715fd4002 (diff)
Fix broken readNullableStrongBinder<T> implementation
Added a missing return statement. Omitting this statement caused the compiler to silently cast a pointer to a status_t, which in general wasn't the expected value of OK. Only return an error when the type casted return value is null and the IBinder we got back was not null, indicating a type error, rather than the expected null binder. Bug: 30160959 Change-Id: Ief3c924b902a607335eff2fcd4d860cd8523593a Test: Integration tests in aidl that exercise this method now pass.
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions