Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4379c035 authored by Steven Moreland's avatar Steven Moreland Committed by Android (Google) Code Review
Browse files

Merge "Revert "Remove conditional vndbinder usage in CAS.""

parents 7cdfa044 e9fb979b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"],

+2 −0
Original line number Diff line number Diff line
@@ -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 */);