From 4948f0d7cc882ee201eab4a2741f5ee9f8bbf91a Mon Sep 17 00:00:00 2001 From: chen xu Date: Thu, 7 Mar 2019 17:58:44 -0800 Subject: 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 will be interpreted as 2021 instead of 20201 Bug: 126605105 Test: Manual test Change-Id: I832a4b243121818a6808b90d8f459dd2c9421e72 --- Android.bp | 1 + 1 file changed, 1 insertion(+) 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"], } -- cgit v1.2.3