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

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

Merge "Reland "Remove conditional vndbinder usage in OMX.""

parents 4f5acf87 c880baf8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -25,10 +25,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);