diff --git a/common/fmq/aidl/Android.bp b/common/fmq/aidl/Android.bp index 058ddb5f6b..5772b7fa64 100644 --- a/common/fmq/aidl/Android.bp +++ b/common/fmq/aidl/Android.bp @@ -24,9 +24,14 @@ aidl_interface { stability: "vintf", backend: { java: { + // There is no Java FMQ library, but we support the AIDL type + // to allow subsets of interfaces that include it to be used in Java + enabled: true, sdk_version: "module_current", }, cpp: { + // FMQ will not be supported in the cpp backend because the parcelables + // are not stable enough for use in shared memory enabled: false, }, ndk: { @@ -38,8 +43,9 @@ aidl_interface { min_sdk_version: "29", }, rust: { - enabled: true, - } + // FMQ is not supported in the rust backend + enabled: false, + }, }, frozen: true, versions: ["1"],