From 8dbad6f96ca5a5ed8ed5142ea6e5b49ffecbbe15 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 21 Dec 2023 20:42:46 +0000 Subject: [PATCH] Make availability to com.android.tethering explicit This is done implicitly today via a baseline map in build/soong/apex/apex.go The hidl_interface also requires //apex_available:platform in its apex_available. This lib gets installed in vendor, and //apex_available:platform is required on all non-apex variants including the vendor variants Bug: 281077552 Test: m nothing Change-Id: I6f46244f9122fb3e025af53f3a42ad441284a723 --- tetheroffload/config/1.0/Android.bp | 4 ++++ tetheroffload/control/1.0/Android.bp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tetheroffload/config/1.0/Android.bp b/tetheroffload/config/1.0/Android.bp index 116c9b6264..b5c41856a1 100644 --- a/tetheroffload/config/1.0/Android.bp +++ b/tetheroffload/config/1.0/Android.bp @@ -19,4 +19,8 @@ hidl_interface { "android.hidl.base@1.0", ], gen_java: true, + apex_available: [ + "//apex_available:platform", + "com.android.tethering", + ], } diff --git a/tetheroffload/control/1.0/Android.bp b/tetheroffload/control/1.0/Android.bp index acb5ee8a1b..6589ee29dd 100644 --- a/tetheroffload/control/1.0/Android.bp +++ b/tetheroffload/control/1.0/Android.bp @@ -21,4 +21,8 @@ hidl_interface { "android.hidl.base@1.0", ], gen_java: true, + apex_available: [ + "//apex_available:platform", + "com.android.tethering", + ], }