Repackage APK to resolve testCheckSignaturesRotatedAgainstOriginal

All of the APKs that are used by the PackageManagerTests do not have
a valid uses-sdk element, so they are treated as having a
targetSdkVersion of 0. While most APKs were previously on the GPP
allow-list and would not result in a failure during install, the
APK for testCheckSignaturesRotatedAgainstOriginal was not scanned
until recently and was blocked by GPP during install. This commit
repackages this APK to resolve failures from this test.

Fixes: 283797480
Test: PackageManagerTests
Change-Id: Iaf0e974190273b13468da5e61eb8c8df73607ffc
This commit is contained in:
Michael Groover
2023-06-07 12:27:03 -05:00
parent 9387c640b0
commit 4af3bc6ce0
2 changed files with 0 additions and 2 deletions

View File

@@ -66,7 +66,6 @@ import android.system.StructStat;
import android.test.AndroidTestCase;
import android.util.Log;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.LargeTest;
import androidx.test.filters.SmallTest;
import androidx.test.filters.Suppress;
@@ -2507,7 +2506,6 @@ public class PackageManagerTests extends AndroidTestCase {
}
@LargeTest
@FlakyTest(bugId = 283797480)
public void testCheckSignaturesRotatedAgainstRotated() throws Exception {
// checkSignatures should be successful when both apps have been signed with the same
// rotated key since the initial signature comparison between the two apps should