From 409ce2a665e244a464fe22ec2746da6a1cc648f2 Mon Sep 17 00:00:00 2001 From: Mikhail Naganov Date: Thu, 4 Aug 2022 17:20:27 +0000 Subject: [PATCH] audio: Use 'sdk_version' instead of 'platform_apis' Replace 'platform_apis: true' with 'sdk_version: module_current'. The former causes compiling against SDK source code, this is not needed for the audio HAL. Bug: 205884982 Test: m android.hardware.audio.service-aidl.example Change-Id: I9b9c32707ac7276f5cd077681bd1f8122bc20feb Merged-In: I9b9c32707ac7276f5cd077681bd1f8122bc20feb (cherry picked from commit 714e959c8934fd6ce04f01cebc9e9b95d79c9f27) --- audio/aidl/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/aidl/Android.bp b/audio/aidl/Android.bp index 4fac2efa61..54c0e0f77d 100644 --- a/audio/aidl/Android.bp +++ b/audio/aidl/Android.bp @@ -92,7 +92,7 @@ aidl_interface { enabled: false, }, java: { - platform_apis: true, + sdk_version: "module_current", }, }, }