Allow UNTRUSTED_PROXIED tags if the tag is valid in the proxied package

We should only override the tag when the proxy is specifying it. If the
proxy specifies a valid tag, however, we should allow it.

Bug: 445917646
Fixes: 456117944
Test: atest RuntimePermissionsAppOpTrackingTest
Flag: EXEMPT CVE_FIX
Change-Id: I49f8a6af58e39365387c25de859079f08be21a5d
1 file changed