From 8196cbad1f5a40052cc8e883840cbf0b02a9266c Mon Sep 17 00:00:00 2001 From: KH Shi Date: Fri, 10 Feb 2023 19:27:04 +0800 Subject: [PATCH] Fix tethering build after ag/21363239 This commit fixes tethering apex build errors after ag/21363239: - Remove unsupported field in Android.bp: "frozen: false" - Add owner field to Android.bp to bypass compilation check of using unfrozen AIDL interfaces: owner: "google" Bug: b/205762647 Test: build and install tethering apex: banchan com.google.android.tethering module_x86_64 UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true m apps_only dist adb install out/dist/com.google.android.tethering.apex Change-Id: Iea77f2117834c1317b3ab16f71881a6b2e299474 --- tetheroffload/aidl/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetheroffload/aidl/Android.bp b/tetheroffload/aidl/Android.bp index 1d8058685c..b3b6ebf091 100644 --- a/tetheroffload/aidl/Android.bp +++ b/tetheroffload/aidl/Android.bp @@ -4,6 +4,7 @@ package { aidl_interface { name: "android.hardware.tetheroffload", + owner: "google", vendor_available: true, srcs: ["android/hardware/tetheroffload/*.aidl"], stability: "vintf", @@ -23,5 +24,4 @@ aidl_interface { apps_enabled: false, }, }, - frozen: false, }