mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Remove conditional vndbinder usage in CAS.
Platform consistency, removing overload of meaning behind PRODUCT_FULL_TREBLE/treble variable. Bug: 67975337 Test: boot Change-Id: I09df37fc0306f80879424334029ab9668cee9d4f Merged-In: I09df37fc0306f80879424334029ab9668cee9d4f
This commit is contained in:
@@ -12,12 +12,6 @@ cc_binary {
|
||||
"TypeConvert.cpp",
|
||||
],
|
||||
|
||||
product_variables: {
|
||||
treble: {
|
||||
cflags: ["-DUSE_VNDBINDER"],
|
||||
},
|
||||
},
|
||||
|
||||
compile_multilib: "32",
|
||||
init_rc: ["android.hardware.cas@1.0-service.rc"],
|
||||
|
||||
|
||||
@@ -31,11 +31,9 @@ using android::hardware::cas::V1_0::IMediaCasService;
|
||||
int main() {
|
||||
ALOGD("android.hardware.cas@1.0-service starting...");
|
||||
|
||||
#ifdef USE_VNDBINDER
|
||||
// The CAS HAL may communicate to other vendor components via
|
||||
// /dev/vndbinder
|
||||
android::ProcessState::initWithDriver("/dev/vndbinder");
|
||||
#endif // USE_VNDBINDER
|
||||
|
||||
configureRpcThreadpool(8, true /* callerWillJoin */);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user