Skip test for specific flag combination if APEX modules are updated

The current test checks for duplication in results for MATCH_FACTORY_ONLY
flag. Due to current platform logic, the API will always return
duplicate results if APEX modules are updated and we query with
MATCH_UNINSTALLED_PACKAGES | MATCH_APEX.

In S, we expect partners to pass CTS test while the APEX modules are
updated. Unless we fix the platform (to be done in T), this test can't
be passed with updated APEX modules. As such, we are updating the cts
test to skip this specific case which all devices will fail certainly.

Bug: 200120056
Bug: 200519752
Test: Ran test with updated APEX modules
Test: atest 'PackageManagerTest#testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates'
Change-Id: I63efdf39242403a23859eece2f84adec9fe0d7b4
Merged-In: I63efdf39242403a23859eece2f84adec9fe0d7b4
1 file changed