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

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

Merge "Register C2 HAL Service v1.0 instead v1.1"

parents c9324c6f c6f97aa6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
    <hal>
        <name>android.hardware.media.c2</name>
        <transport>hwbinder</transport>
        <version>1.1</version>
        <version>1.0</version>
        <interface>
            <name>IComponentStore</name>
            <instance>software</instance>
+2 −2
Original line number Diff line number Diff line
@@ -20,11 +20,11 @@
#include <android-base/logging.h>

#include <C2PlatformSupport.h>
#include <codec2/hidl/1.1/ComponentStore.h>
#include <codec2/hidl/1.0/ComponentStore.h>
#include <media/CodecServiceRegistrant.h>

extern "C" void RegisterCodecServices() {
    using namespace ::android::hardware::media::c2::V1_1;
    using namespace ::android::hardware::media::c2::V1_0;
    LOG(INFO) << "Creating software Codec2 service...";
    android::sp<IComponentStore> store =
        new utils::ComponentStore(