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

Commit b05dfdff authored by Pawin Vongmasa's avatar Pawin Vongmasa Committed by android-build-merger
Browse files

Make IOmx registration independent of IOmxStore am: 4271c82e

am: 77bfcd38

Change-Id: I86769ab87cfcd4fbbf5678e3a2d172363b820c07
parents e54832d9 77bfcd38
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ int main(int argc __unused, char** argv)
            LOG(ERROR) << "Cannot create IOmxStore HAL service.";
        } else if (omxStore->registerAsService() != OK) {
            LOG(ERROR) << "Cannot register IOmxStore HAL service.";
        } else {
        }
        sp<IOmx> omx = new implementation::Omx();
        if (omx == nullptr) {
            LOG(ERROR) << "Cannot create IOmx HAL service.";
@@ -75,7 +75,6 @@ int main(int argc __unused, char** argv)
        } else {
            LOG(INFO) << "Treble OMX service created.";
        }
        }
    } else {
        MediaCodecService::instantiate();
        LOG(INFO) << "Non-Treble OMX service created.";