Revert "Remove conditional vndbinder usage in CAS."
This reverts commit 5884a6f0f3
.
Bug: 70393284
Reason for revert: Fugu doesn't have vndbinder yet.
Exempt-from-owner-approval: Device doesn't boot.
Change-Id: Ib23691c102fd8aca63a4a6755eb7fd1f9e852a4d
This commit is contained in:
parent
5884a6f0f3
commit
e9fb979b1e
2 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,12 @@ cc_binary {
|
|||
"TypeConvert.cpp",
|
||||
],
|
||||
|
||||
product_variables: {
|
||||
treble: {
|
||||
cflags: ["-DUSE_VNDBINDER"],
|
||||
},
|
||||
},
|
||||
|
||||
compile_multilib: "32",
|
||||
init_rc: ["android.hardware.cas@1.0-service.rc"],
|
||||
|
||||
|
|
|
@ -31,9 +31,11 @@ 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 */);
|
||||
|
||||
|
|
Loading…
Reference in a new issue