From 92147164f3d8448ec49aa495e76b9914496ac673 Mon Sep 17 00:00:00 2001 From: Pawin Vongmasa Date: Wed, 31 Oct 2018 03:23:13 -0700 Subject: [PATCH] Use new version of IGraphicBufferProducer Test: Builds Bug: 112362730 Change-Id: I986d5633d51a7088ea7a818ed4845b9494bccdeb --- media/c2/1.0/Android.bp | 4 +++- media/c2/1.0/IComponent.hal | 2 +- media/c2/1.0/IInputSurface.hal | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/media/c2/1.0/Android.bp b/media/c2/1.0/Android.bp index c37c22b4e2..3c99b6a76a 100644 --- a/media/c2/1.0/Android.bp +++ b/media/c2/1.0/Android.bp @@ -17,8 +17,10 @@ hidl_interface { "IInputSurfaceConnection.hal", ], interfaces: [ - "android.hardware.graphics.bufferqueue@1.0", + "android.hardware.graphics.bufferqueue@2.0", "android.hardware.graphics.common@1.0", + "android.hardware.graphics.common@1.1", + "android.hardware.graphics.common@1.2", "android.hardware.media.bufferpool@2.0", "android.hardware.media.omx@1.0", "android.hardware.media@1.0", diff --git a/media/c2/1.0/IComponent.hal b/media/c2/1.0/IComponent.hal index 7fd551fc2b..822b24ed76 100644 --- a/media/c2/1.0/IComponent.hal +++ b/media/c2/1.0/IComponent.hal @@ -16,7 +16,7 @@ package android.hardware.media.c2@1.0; -import android.hardware.graphics.bufferqueue@1.0::IGraphicBufferProducer; +import android.hardware.graphics.bufferqueue@2.0::IGraphicBufferProducer; import android.hardware.media.omx@1.0::IGraphicBufferSource; import IConfigurable; diff --git a/media/c2/1.0/IInputSurface.hal b/media/c2/1.0/IInputSurface.hal index 25c6c8e570..0a1b56ddb5 100644 --- a/media/c2/1.0/IInputSurface.hal +++ b/media/c2/1.0/IInputSurface.hal @@ -16,7 +16,7 @@ package android.hardware.media.c2@1.0; -import android.hardware.graphics.bufferqueue@1.0::IGraphicBufferProducer; +import android.hardware.graphics.bufferqueue@2.0::IGraphicBufferProducer; import IConfigurable;