Remove dependency with libbinder

As part of VNDK deprecation, vendor APEXes will no longer be able to
link with VNDK namespace over 'use_vndk_as_stable' flag. To achieve
this, vendor APEXes should only use stable interface or include all
libraries within the APEX. Since libbinder is not available to locate
within the APEX, it should be removed from the dependency. This change
removes dependency with libbinder from camera provider service.

Bug: 290318998
Test: aosp_cf_x86_64_phone boot succeeded
Change-Id: Ia5e1b976cf4504a81376a1587d0689b806c0551c
Merged-In: Ia5e1b976cf4504a81376a1587d0689b806c0551c
diff --git a/common/hal/aidl_service/Android.bp b/common/hal/aidl_service/Android.bp
index df5d70e..4e2f2f4 100644
--- a/common/hal/aidl_service/Android.bp
+++ b/common/hal/aidl_service/Android.bp
@@ -97,7 +97,6 @@
         "android.hardware.graphics.mapper@3.0",
         "android.hardware.graphics.mapper@4.0",
         "android.hardware.thermal@2.0",
-        "libbinder",
         "libbinder_ndk",
         "libbase",
         "libcamera_metadata",
diff --git a/common/hal/aidl_service/aidl_service.cc b/common/hal/aidl_service/aidl_service.cc
index 91f52b1..a4195ed 100644
--- a/common/hal/aidl_service/aidl_service.cc
+++ b/common/hal/aidl_service/aidl_service.cc
@@ -24,7 +24,6 @@
 #include <android/binder_manager.h>
 #include <android/binder_process.h>
 #include <apex_update_listener.h>
-#include <binder/ProcessState.h>
 #include <cutils/properties.h>
 #include <hidl/HidlTransportSupport.h>
 #include <malloc.h>
@@ -48,10 +47,7 @@
 
 int main() {
   ALOGI("Google camera provider service is starting.");
-  // The camera HAL may communicate to other vendor components via
-  // /dev/vndbinder
   mallopt(M_DECAY_TIME, 1);
-  android::ProcessState::initWithDriver("/dev/vndbinder");
   android::hardware::configureRpcThreadpool(/*maxThreads=*/6,
                                             /*callerWillJoin=*/true);