diff options
author | 2018-04-25 14:54:06 -0700 | |
---|---|---|
committer | 2018-04-25 15:09:20 -0700 | |
commit | 402d5e091996abe6e69b5055150ab5438fc664ef (patch) | |
tree | 46c8e2189b7f910de0c7207d5785fe1a984905e0 /xml/xml_test.go | |
parent | 346d43b62e3ad1d0d8738ee54a095b4f7a4ce21a (diff) |
Don't use AppsDefaultVersionName for framework-res.apk
Some builds set AppsDefaultVersionName() to include the build
number ("P-123456"). aapt2 copies the version name of
framework-res into app manifests as compileSdkVersionCodename,
which confuses things if it contains the build number. Use the
DefaultAppTargetSdk ("P") instead.
Bug: 78324052
Test: m TARGET_BUILD_WITH_APPS_VERSION_NAME=true Dialer
aapt dump badging $OUT/system/priv-app/Dialer/Dialer.apk | grep compile
shows compileSdkVersionCodename=P
Change-Id: If67f40aae1066d4ff3bf97da1b2de2e1e250ad9c
Diffstat (limited to 'xml/xml_test.go')
0 files changed, 0 insertions, 0 deletions