From 763909c378abdb21a30c2cbccfb7cab0cb3e07c0 Mon Sep 17 00:00:00 2001 From: Devin Moore Date: Mon, 18 Dec 2023 19:28:10 +0000 Subject: [PATCH] Disable the rust backend of android.hardware.media.c2 There are currently no users of it. Enabling it will require adding rust support for the android.os.Surface type that uses ANativeWindow underneath. Test: m Bug: 315556623 Change-Id: Ib9954b1bf476b391919db994bc2dc1483d972670 --- media/c2/aidl/Android.bp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/media/c2/aidl/Android.bp b/media/c2/aidl/Android.bp index 3c0915dd38..84cb38298a 100644 --- a/media/c2/aidl/Android.bp +++ b/media/c2/aidl/Android.bp @@ -42,11 +42,8 @@ aidl_interface { ], }, rust: { - min_sdk_version: "31", - enabled: true, - additional_rustlibs: [ - "libnativewindow_rs", - ], + // No users, and no rust implementation of android.os.Surface yet + enabled: false, }, }, }