Loading services/mediacodec/main_codecservice.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -46,6 +46,11 @@ static const char kVendorSeccompPolicyPath[] = int main(int argc __unused, char** argv) { LOG(INFO) << "mediacodecservice starting"; bool treble = property_get_bool("persist.media.treble_omx", true); if (treble) { android::ProcessState::initWithDriver("/dev/vndbinder"); } signal(SIGPIPE, SIG_IGN); SetUpMinijail(kSystemSeccompPolicyPath, kVendorSeccompPolicyPath); Loading @@ -54,7 +59,7 @@ int main(int argc __unused, char** argv) ::android::hardware::configureRpcThreadpool(64, false); sp<ProcessState> proc(ProcessState::self()); if (property_get_bool("persist.media.treble_omx", true)) { if (treble) { using namespace ::android::hardware::media::omx::V1_0; sp<IOmx> omx = new implementation::Omx(); if (omx == nullptr) { Loading Loading
services/mediacodec/main_codecservice.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -46,6 +46,11 @@ static const char kVendorSeccompPolicyPath[] = int main(int argc __unused, char** argv) { LOG(INFO) << "mediacodecservice starting"; bool treble = property_get_bool("persist.media.treble_omx", true); if (treble) { android::ProcessState::initWithDriver("/dev/vndbinder"); } signal(SIGPIPE, SIG_IGN); SetUpMinijail(kSystemSeccompPolicyPath, kVendorSeccompPolicyPath); Loading @@ -54,7 +59,7 @@ int main(int argc __unused, char** argv) ::android::hardware::configureRpcThreadpool(64, false); sp<ProcessState> proc(ProcessState::self()); if (property_get_bool("persist.media.treble_omx", true)) { if (treble) { using namespace ::android::hardware::media::omx::V1_0; sp<IOmx> omx = new implementation::Omx(); if (omx == nullptr) { Loading