summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchen xu <fionaxu@google.com>2019-03-07 17:58:44 -0800
committerchen xu <fionaxu@google.com>2019-03-08 16:50:28 -0800
commit4948f0d7cc882ee201eab4a2741f5ee9f8bbf91a (patch)
tree250dcf2e18e4cfe783096cb52097ddb2eb6a2241
parent0bd5b7b6c9e7b543f66884e968af71881785894d (diff)
downloadandroid_packages_apps_CarrierConfig-4948f0d7cc882ee201eab4a2741f5ee9f8bbf91a.tar.gz
android_packages_apps_CarrierConfig-4948f0d7cc882ee201eab4a2741f5ee9f8bbf91a.tar.bz2
android_packages_apps_CarrierConfig-4948f0d7cc882ee201eab4a2741f5ee9f8bbf91a.zip
fix the issue that aapt2 strip leading 0 from the raw string
aapt2 by defualt will strip leading 0 from raw strings if there is no schema defined. it will cause issues that <carrier_config mcc="202" mnc="01"> will be interpreted as 2021 instead of 20201 Bug: 126605105 Test: Manual test Change-Id: I832a4b243121818a6808b90d8f459dd2c9421e72
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 782ccd4..efca57a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -10,4 +10,5 @@ android_app {
optimize: {
proguard_flags_files: ["proguard.flags"],
},
+ aaptflags: ["--keep-raw-values"],
}