Relax constraints on plat_service_contexts
Services may be added between QPR releases. In this case,
testAospServiceContexts would fail as the exact file would be different
between the desert release and QPR1 for example. Relax the test to
ensure that all the entries in AOSP are present in the file, while
ignoring extra entries. This is similar to what is currently done for
plat_file_contexts in testAospFileContexts.
Test: atest CtsSecurityHostTestCases:android.security.cts.SELinuxHostTest#testAospServiceContexts
Bug: 292047254
Change-Id: Ia0ba51742589c766d5c2c780ea716320f2c45554
1 file changed