commit | 104c7f02dc38bbe8acf20201d8b87df8a7b531c5 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Oct 02 14:48:27 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Oct 03 13:10:44 2017 -0700 |
tree | 684a06018f251b0b3a4a64231963dff9d3a545da | |
parent | 96e9de049f4dd2ee7d02eaf9a662e286964c2039 [diff] |
Change wrapPassthrough function. This is currently a header function which is a detail of HIDL. All uses of it currently have the same static casts around it. By changing the return type to sp<IType>, the purpose of the function becomes more clear, and there is less of a chance false assumptions will be used by the (internal HIDL) users of this function. Bug: 67104214 Test: hidl's run_all_device_tests.sh Change-Id: I9315d1b845bafebb2b3abfbf77a6b8d0c71e5cc2