From d9a93ca476c72aaee0c3b8e1d1d1b900765ea149 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 21 Oct 2020 22:57:37 +0000 Subject: [PATCH] android.hardware.common: support Java The handle type here is needed in some HALs now (specifically in order to encode a Surface, which is backed by a handle). This previously wasn't in Java simply because handles are more common in native code, and so it wasn't expected to be used. Fixes: 171087128 Test: build Change-Id: Ie1eaf50cc8e62932cc553b80c02be434bfbaf3b3 --- common/aidl/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/aidl/Android.bp b/common/aidl/Android.bp index 9ea4cdf5c1..c7f11ee608 100644 --- a/common/aidl/Android.bp +++ b/common/aidl/Android.bp @@ -12,7 +12,7 @@ aidl_interface { stability: "vintf", backend: { java: { - enabled: false, + sdk_version: "module_current", }, cpp: { enabled: false,