Register C2 HAL Service v1.0 instead v1.1

swcodec doesn't implement video tunneling feature, so v1.1 is not
needed.

Test: TARGET_BUILD_APPS=com.android.media.swcodec m dist && adb install
--staged out/dist/com.android.media.swcodec.apex && adb reboot userspace
Test: atest CtsMediaTestCases -- --module-arg
CtsMediaTestCases:exclude-annotation:android.media.cts.NonMediaMainlineTest

Bug: 144271235
Change-Id: I461ebb2ee7b6e47c1a58e1b88ba0b227285d0745
gugelfrei
Dongwon Kang 5 years ago
parent e3fa518b98
commit c6f97aa688

@ -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>

@ -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(

Loading…
Cancel
Save