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

Commit 3a84fd68 authored by Steven Moreland's avatar Steven Moreland
Browse files

Remove conditional vndbinder usage in OMX.

Platform consistency, removing overload of meaning
behind PRODUCT_FULL_TREBLE/treble variable.

Bug: 67975337
Test: boot
Change-Id: Ice340cce7053b419ba6c0ec6780e7bbdccf0cbe1
parent f7e309d6
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);