From bd5cc4231d68e6e5d87a6341c74fd97a3cfac316 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Mon, 2 Nov 2020 19:00:34 +0900 Subject: [PATCH] Add service-connectivity to tethering APEX Add the connectivity service JAR to the tethering APEX. This change should not be released in monthly updates until the modularization work is done, so will be reverted in module release branches. Test: Boot, wifi connects and has internet access Bug: 171540887 Merged-In: Ic496cd62be8c90928ccc619519ebe517beea78f0 Change-Id: Ia7cb83834b854e8c495c4ef17ec69ad032509208 --- Tethering/apex/Android.bp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Tethering/apex/Android.bp b/Tethering/apex/Android.bp index a1e7fd218d..c99121cae7 100644 --- a/Tethering/apex/Android.bp +++ b/Tethering/apex/Android.bp @@ -16,9 +16,17 @@ apex { name: "com.android.tethering", - updatable: true, - min_sdk_version: "30", - java_libs: ["framework-tethering"], + // TODO: make updatable again once this contains only updatable artifacts (in particular, this + // cannot build as updatable unless service-connectivity builds against stable API). + // updatable: true, + // min_sdk_version: "30", + java_libs: [ + "framework-tethering", + "service-connectivity", + ], + jni_libs: [ + "libservice-connectivity", + ], bpfs: ["offload.o"], apps: ["Tethering"], manifest: "manifest.json",