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

Commit e34500b7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove conditional vndbinder usage in OMX."

parents 0a45bd54 3a84fd68
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -26,10 +26,6 @@ LOCAL_VENDOR_MODULE := true
LOCAL_32_BIT_ONLY := true
LOCAL_INIT_RC := android.hardware.media.omx@1.0-service.rc

ifeq ($(PRODUCT_FULL_TREBLE),true)
LOCAL_CFLAGS += -DUSE_VNDBINDER
endif

include $(BUILD_EXECUTABLE)

# service seccomp policy
+0 −2
Original line number Diff line number Diff line
@@ -40,10 +40,8 @@ int main(int argc __unused, char** argv)
    signal(SIGPIPE, SIG_IGN);
    SetUpMinijail(kSystemSeccompPolicyPath, kVendorSeccompPolicyPath);

#ifdef USE_VNDBINDER
    android::ProcessState::initWithDriver("/dev/vndbinder");
    android::ProcessState::self()->startThreadPool();
#endif // USE_VNDBINDER

    ::android::hardware::configureRpcThreadpool(64, false);