commit | 738592443e217e6900b2d623058b59da293d152c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Oct 05 11:08:32 2018 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Oct 05 11:11:49 2018 -0700 |
tree | 955fafd7bc935656927e2e90c4d6700c163a4b8f | |
parent | d8536200ab743bd537a2e18a55ff886e960f0448 [diff] |
Use libhidl APIs to create BHwBinder. The implementation of hwservicemanager was updated to 1.2, but service.cpp was still using V1_1::BnHwServiceManager. Rather than just changing this to V1_2, service.cpp uses toBinder which looks up and creates the correct Bn class even if a subclass is passed in. Fixes: 116876065 Test: boot Test: hidl_test Test: manually calling methods on defaultServiceManager1_2 Change-Id: Icfd71ef6f84aa60a104f9effc5ae33a6c68d60a3