mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-03 12:07:58 +00:00
VehicleManager: use with RefBase am: 3b8e60afa3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19300534 Change-Id: Ic3bd05a3fe40fbfa8cc8d0e1b81fa50c15d887de Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -33,7 +33,7 @@ int main(int /* argc */, char* /* argv */ []) {
|
||||
auto store = std::make_unique<VehiclePropertyStore>();
|
||||
auto connector = std::make_unique<DefaultVehicleConnector>();
|
||||
auto hal = std::make_unique<DefaultVehicleHal>(store.get(), connector.get());
|
||||
auto service = std::make_unique<VehicleHalManager>(hal.get());
|
||||
auto service = android::sp<VehicleHalManager>::make(hal.get());
|
||||
connector->setValuePool(hal->getValuePool());
|
||||
|
||||
android::hardware::configureRpcThreadpool(4, true /* callerWillJoin */);
|
||||
|
||||
Reference in New Issue
Block a user