DO NOT MERGE SdkExtensionsTest: allow newer (unknown) versions
Sometimes a device under test runs a newer version of SdkExtensions
(where SDK extension version X has been finalized), and the
SdkExtensionsTest come from an older build (where SDK extension version
X-1 is the latest finalized version). This currently breaks the tests,
because the test expects SDK extension version X-1, but finds X.
SDK extensions are backwards compatible. Update the tests to allow the
latest known SDK extension version at the time of compilation (of the
test), or any newer version.
This CL is a (modified) cherry-pick of aosp/3189531.
Test: atest CtsSdkExtensionsTestCases
Bug: 353314859
Bug: 362188245
Flag: EXEMPT test modification only, no change to OTA code
Merged-In: Iffb7ceccaa4e1388ec3e2aa1dfcf496e288322a1
Change-Id: I1fa6f339fd05b60eead04f0d3f1afee5880754e2
1 file changed