mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Revert "android.hardware.camera.provider@2.4: set up /dev/vndbinder"
This reverts commit b4488af17c.
Bug: 37302783
Bug: 37301743
Test: device boots to UI
Change-Id: I184ccb02c2dc188a7ff8ebb6256b2f6e72376758
This commit is contained in:
@@ -37,7 +37,6 @@ cc_binary {
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libbinder",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.camera.device@1.0",
|
||||
|
||||
@@ -19,16 +19,11 @@
|
||||
#include <android/hardware/camera/provider/2.4/ICameraProvider.h>
|
||||
#include <hidl/LegacySupport.h>
|
||||
|
||||
#include <binder/ProcessState.h>
|
||||
|
||||
using android::hardware::camera::provider::V2_4::ICameraProvider;
|
||||
using android::hardware::defaultPassthroughServiceImplementation;
|
||||
|
||||
int main()
|
||||
{
|
||||
ALOGI("Camera provider Service is starting.");
|
||||
// The camera HAL may communicate to other vendor components via
|
||||
// /dev/vndbinder
|
||||
android::ProcessState::initWithDriver("/dev/vndbinder");
|
||||
return defaultPassthroughServiceImplementation<ICameraProvider>("legacy/0", /*maxThreads*/ 6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user