change all automotive AIDL HAL to generate Java for module
- CarService will become mainline module,
Bug: 192462140
Test: build
Change-Id: I71e2955de12594ff0a8dc74cdcc269997e214ef1
diff --git a/automotive/occupant_awareness/aidl/Android.bp b/automotive/occupant_awareness/aidl/Android.bp
index 26c53fa..288dc6d 100644
--- a/automotive/occupant_awareness/aidl/Android.bp
+++ b/automotive/occupant_awareness/aidl/Android.bp
@@ -16,7 +16,7 @@
stability: "vintf",
backend: {
java: {
- platform_apis: true,
+ sdk_version: "module_current",
},
ndk: {
vndk: {
diff --git a/automotive/vehicle/aidl/Android.bp b/automotive/vehicle/aidl/Android.bp
index 56a85b9..477f8ed 100644
--- a/automotive/vehicle/aidl/Android.bp
+++ b/automotive/vehicle/aidl/Android.bp
@@ -34,7 +34,7 @@
enabled: true,
},
java: {
- enabled: true,
+ sdk_version: "module_current",
},
},
}