Teach PackageManager.getApplicationInfo about MATCH_APEX

Test: atest android.content.pm.cts.PackageManagerTest#testGetApplicationInfo_ApexSupported_MatchesApex
Bug: 155092136
Change-Id: I489e186242d4db4de4753a11e90ce23e35f2aa80
This commit is contained in:
Nikita Ioffe
2020-04-29 21:34:24 +01:00
parent 0f309dc04a
commit 69a3f399fe
2 changed files with 16 additions and 0 deletions

View File

@@ -180,6 +180,7 @@ public abstract class PackageManager {
GET_DISABLED_UNTIL_USED_COMPONENTS,
GET_UNINSTALLED_PACKAGES,
MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS,
MATCH_APEX,
})
@Retention(RetentionPolicy.SOURCE)
public @interface ApplicationInfoFlags {}