Only include latest carrier list into APK
The carrier list of the prior version is only for OEMs to cherry pick
on legacy devices. This CL will reduce the size of the Telephony
Provider APK by 20% (from 517 to 418).
Bug: 155254987
Merged-In: I76b7cd622aaeb8976dd673d57f998353064788d8
Change-Id: I76b7cd622aaeb8976dd673d57f998353064788d8
(cherry picked from commit fcc629193631dc880be517ac74698f503c869b07)
diff --git a/Android.bp b/Android.bp
index b5498d5..def7cde 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,6 +2,7 @@
name: "TelephonyProvider",
privileged: true,
srcs: ["src/**/*.java", "proto/**/*.proto"],
+ asset_dirs: ["assets/latest_carrier_id"],
platform_apis: true,
certificate: "platform",
libs: ["telephony-common"],
@@ -10,5 +11,5 @@
filegroup {
name: "telephonyprovider-assets-carrierlist",
- srcs: ["assets/carrier_list.*"],
+ srcs: ["assets/latest_carrier_id/carrier_list.*"],
}