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

Commit e9fb979b authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "Remove conditional vndbinder usage in CAS."

This reverts commit 5884a6f0.
Bug: 70393284

Reason for revert: Fugu doesn't have vndbinder yet.
Exempt-from-owner-approval: Device doesn't boot.

Change-Id: Ib23691c102fd8aca63a4a6755eb7fd1f9e852a4d
parent 5884a6f0
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 */);