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

Commit dcbe1e5d authored by Hangyu Kuang's avatar Hangyu Kuang Committed by Automerger Merge Worker
Browse files

Revert "Conditional start the media.transcoding service." am: 56b6ad7a am: a786877f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15164825

Change-Id: If8f00f9d4092fe4dd6ba3cb6ad6a3b2b15fa0f18
parents 72afe442 a786877f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ cc_binary {
        "android.hardware.media.omx@1.0",
        "libandroidicu",
        "libfmq",
        "libbase",
        "libbinder",
        "libhidlbase",
        "liblog",
+0 −7
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
#define LOG_TAG "mediaserver"
//#define LOG_NDEBUG 0

#include <android-base/properties.h>
#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <binder/IServiceManager.h>
@@ -43,12 +42,6 @@ int main(int argc __unused, char **argv __unused)
    ResourceManagerService::instantiate();
    registerExtensions();
    ::android::hardware::configureRpcThreadpool(16, false);

    if (!android::base::GetBoolProperty("ro.config.low_ram", false)) {
        // Start the media.transcoding service if the device is not low ram
        // device.
        android::base::SetProperty("ctl.start", "media.transcoding");
    }
    ProcessState::self()->startThreadPool();
    IPCThreadState::self()->joinThreadPool();
    ::android::hardware::joinRpcThreadpool();