VehicleManager: use with RefBase
RefBase with sp<> Bug: 232557259 Test: build Change-Id: Id6b3b7e222980fd0e82b2d94ff2518e92d42a4d9 Merged-In: Id6b3b7e222980fd0e82b2d94ff2518e92d42a4d9
This commit is contained in:
parent
824c5d8f60
commit
0a19e588f0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ int main(int /* argc */, char* /* argv */ []) {
|
|||
auto userHal = connector->getEmulatedUserHal();
|
||||
auto hal = std::make_unique<impl::EmulatedVehicleHal>(store.get(), connector.get(), userHal);
|
||||
auto emulator = std::make_unique<impl::VehicleEmulator>(hal.get());
|
||||
auto service = std::make_unique<VehicleHalManager>(hal.get());
|
||||
auto service = android::sp<VehicleHalManager>::make(hal.get());
|
||||
connector->setValuePool(hal->getValuePool());
|
||||
|
||||
configureRpcThreadpool(4, true /* callerWillJoin */);
|
||||
|
|
Loading…
Reference in a new issue