summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-03-24 19:11:35 -0700
committerDavid Su <dysu@google.com>2020-03-25 22:35:03 -0700
commit0a4bc5c7c5d562066f982fc254821ac5937fc74a (patch)
tree11fbc004554128be67dc14f73739c246eb04e3ab /service
parent776f77aa028f52fc08c51da38b502014938850ce (diff)
Rename wifi-service-resources to ServiceWifiResources
- ServiceWifi instead of wifi-service to be consistent with naming conventions for service jars - CamelCase to be consistent with other APKs Also added apex_available to ServiceWifiResources. Bug: 149589553 Test: compiles Change-Id: I2060d3eeb2a127fa17a2cabf09d7ef303a5ce391
Diffstat (limited to 'service')
-rw-r--r--service/Android.bp10
-rw-r--r--service/apex/Android.bp2
2 files changed, 7 insertions, 5 deletions
diff --git a/service/Android.bp b/service/Android.bp
index 928f9c554..fb5861d21 100644
--- a/service/Android.bp
+++ b/service/Android.bp
@@ -58,7 +58,7 @@ java_library {
"jsr305",
"framework-annotations-lib",
// load the resources from the resources APK.
- "wifi-service-resources",
+ "ServiceWifiResources",
// need pre-jarjar symbols so that wifi-service can reference the original class names at
// compile time
"framework-wifi-pre-jarjar",
@@ -143,11 +143,9 @@ genrule {
}
// APK to hold all the wifi overlayable resources.
-// TODO: This should be signed by a wifi specific certificate.
// ============================================================
android_app {
- // TODO: Rename to service-wifi-resources? What about b/151678653?
- name: "wifi-service-resources",
+ name: "ServiceWifiResources",
defaults: ["wifi-service-common"],
resource_dirs: [
"res",
@@ -156,6 +154,10 @@ android_app {
sdk_version: "system_current",
export_package_resources: true,
manifest: "AndroidManifest_Resources.xml",
+ apex_available: [
+ "com.android.wifi",
+ "test_com.android.wifi",
+ ],
}
// Prebuilt for the wifi.rc file.
diff --git a/service/apex/Android.bp b/service/apex/Android.bp
index 65cd6d573..e23d9cc8f 100644
--- a/service/apex/Android.bp
+++ b/service/apex/Android.bp
@@ -30,8 +30,8 @@ apex_defaults {
key: "com.android.wifi.key",
certificate: ":com.android.wifi.certificate",
apps: [
- "wifi-service-resources",
"OsuLogin",
+ "ServiceWifiResources",
],
}