Move Telephony internal resource
Move Telephony internal resources to apk
Bug: 143289541
Test: verified using boot up that resource value is read
Change-Id: I0f8a550128c2938d1ae6fbe022d1b82432c45beb
diff --git a/Android.bp b/Android.bp
index 1e3bc6d..7267595 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,6 +41,26 @@
srcs: ["jarjar-rules-shared.txt"],
}
+android_app {
+ name: "telephony-resources",
+ installable: true,
+
+ resource_dirs: [
+ "res",
+ ],
+
+ platform_apis: true,
+ manifest: "AndroidManifest_Resources.xml",
+ export_package_resources: true,
+
+ product_variables: {
+ pdk: {
+ // enable this build only when platform library is available
+ enabled: false,
+ },
+ },
+}
+
java_library {
name: "telephony-common",
installable: true,
@@ -68,7 +88,9 @@
"ims-common",
"services",
"unsupportedappusage",
+ "telephony-resources",
],
+ required: ["telephony-resources"],
static_libs: [
"android.hardware.radio.config-V1.0-java-shallow",
"android.hardware.radio.config-V1.1-java-shallow",