From 7cede7ab8e6aa31cd8237e40a9b66da26f6fedcf Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 25 Nov 2019 07:35:34 -0800 Subject: wifi-service: Convert to java_library a) Move the resources to an APK which is linked by the wifi-service java library. b) Load the resource values lazily since the resources APK will not be available when the wifi service jar is initialized. Also, unit tests now compile the service sources directly instead of linking wifi-service library. This is because the wifi-service library linked is jar-jar'ed now which causes compilation failure when attempting to compile the vanilla test sources. Bug: 144722612 Test: Device boots up and connects to wifi networks. Test: atest com.android.server.wifi Change-Id: I1c20c41b9e6669fbbae0ff9d6f70e0ec30f0d073 --- RROOverlaySampleApp/Android.bp | 13 ---------- RROOverlaySampleApp/AndroidManifest.xml | 4 ++-- RROOverlaySampleApp/AndroidManifest_InProcess.xml | 29 ----------------------- 3 files changed, 2 insertions(+), 44 deletions(-) delete mode 100644 RROOverlaySampleApp/AndroidManifest_InProcess.xml (limited to 'RROOverlaySampleApp') diff --git a/RROOverlaySampleApp/Android.bp b/RROOverlaySampleApp/Android.bp index 0f8265ab3..52c56d966 100644 --- a/RROOverlaySampleApp/Android.bp +++ b/RROOverlaySampleApp/Android.bp @@ -23,16 +23,3 @@ android_app { sdk_version: "current", product_specific: true } - -// In process version of the overlay. -// TODO (b/135938806): Remove this once the overlay tag can support multiple -// targetPackage attributes. -android_app { - name: "InProcessWifiRROOverlaySampleApp", - resource_dirs: [ - "res", - ], - sdk_version: "current", - manifest: "AndroidManifest_InProcess.xml", - product_specific: true -} diff --git a/RROOverlaySampleApp/AndroidManifest.xml b/RROOverlaySampleApp/AndroidManifest.xml index d350624a0..de2e359ac 100644 --- a/RROOverlaySampleApp/AndroidManifest.xml +++ b/RROOverlaySampleApp/AndroidManifest.xml @@ -17,12 +17,12 @@ diff --git a/RROOverlaySampleApp/AndroidManifest_InProcess.xml b/RROOverlaySampleApp/AndroidManifest_InProcess.xml deleted file mode 100644 index cf01a7322..000000000 --- a/RROOverlaySampleApp/AndroidManifest_InProcess.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - -- cgit v1.2.3