summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2020-10-21 22:57:37 +0000
committerSteven Moreland <smoreland@google.com>2020-10-21 22:59:12 +0000
commitd9a93ca476c72aaee0c3b8e1d1d1b900765ea149 (patch)
tree33b8049107ff01abf297f1ece4d777262b1bd17c
parent9ac41106d8cd552b9f86781f772eae3c106294f7 (diff)
downloadinterfaces-d9a93ca476c72aaee0c3b8e1d1d1b900765ea149.tar.gz
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
-rw-r--r--common/aidl/Android.bp2
1 files changed, 1 insertions, 1 deletions
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,