summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBryan Henry <bryanhenry@google.com>2018-05-10 19:26:47 -0700
committerBryan Henry <bryanhenry@google.com>2018-05-10 19:26:47 -0700
commit1dc4e43bc0aa55d5eaf98563746efab1ffb1b7ee (patch)
tree4f5f36b51cd8267fefc97ec0d64ecae18df8f552 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6fa8d06c78d21d455015e19691d5d6f2e6bd258b (diff)
Allow changing signing cert for system apps that use shared users
This allows changing the signing certificate of system apps that use shared users across an OTA, but still verifies that all signatures within a given boot are consistent for a given shared user. Bug: 72837107 Bug: 77973716 Bug: 74501739 Test: Flashed dev-keys build into slot b and (local) release-keys build into slot a, booted into b, then successfully booted into a without wiping userdata. Test: Same as above, but treated com.android.mtp (uses android.media UID) as PRESIGNED during release signing so it kept dev-keys. Verified it wasn't scanned first and that only that package was rejected. Test: Same as above, but treated com.android.providers.downloads (uses android.media UID) as PRESIGNED during release signing so it kept dev-keys. Verified it was scanned first (out of APKs using this UID) and that only this package was accepted. Verified other APKs using android.media UID that were scanned after were rejected. Change-Id: I2076e8358cae22e45a24aa4c32a1b8dd446679ca Merged-In: I2076e8358cae22e45a24aa4c32a1b8dd446679ca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions