Class android.content.pm.PackageManager

Added Methods
boolean[] canPackageQuery(String, String[])  
void relinquishUpdateOwnership(String)  
 

Changed Methods
ActivityInfo getActivityInfo(ComponentName, int) Change from deprecated to undeprecated.
 
ApplicationInfo getApplicationInfo(String, int) Change from deprecated to undeprecated.
 
List<ApplicationInfo> getInstalledApplications(int) Change from deprecated to undeprecated.
 
List<PackageInfo> getInstalledPackages(int) Change from deprecated to undeprecated.
 
PackageInfo getPackageArchiveInfo(String, int) Change from deprecated to undeprecated.
 
int[] getPackageGids(String, int) Change from deprecated to undeprecated.
 
PackageInfo getPackageInfo(VersionedPackage, int) Change from deprecated to undeprecated.
 
PackageInfo getPackageInfo(String, int) Change from deprecated to undeprecated.
 
int getPackageUid(String, int) Change from deprecated to undeprecated.
 
List<PackageInfo> getPackagesHoldingPermissions(String[], int) Change from deprecated to undeprecated.
 
ProviderInfo getProviderInfo(ComponentName, int) Change from deprecated to undeprecated.
 
ActivityInfo getReceiverInfo(ComponentName, int) Change from deprecated to undeprecated.
 
ServiceInfo getServiceInfo(ComponentName, int) Change from deprecated to undeprecated.
 
List<SharedLibraryInfo> getSharedLibraries(int) Change from deprecated to undeprecated.
 
List<ResolveInfo> queryBroadcastReceivers(Intent, int) Change from deprecated to undeprecated.
 
List<ProviderInfo> queryContentProviders(String, int, int) Change from deprecated to undeprecated.
 
List<ResolveInfo> queryIntentActivities(Intent, int) Change from deprecated to undeprecated.
 
List<ResolveInfo> queryIntentActivityOptions(ComponentName, Intent[], Intent, int) Change from deprecated to undeprecated.
 
List<ResolveInfo> queryIntentContentProviders(Intent, int) Change from deprecated to undeprecated.
 
List<ResolveInfo> queryIntentServices(Intent, int) Change from deprecated to undeprecated.
 
ResolveInfo resolveActivity(Intent, int) Change from deprecated to undeprecated.
 
ProviderInfo resolveContentProvider(String, int) Change from deprecated to undeprecated.
 
ResolveInfo resolveService(Intent, int) Change from deprecated to undeprecated.
 
 

Added Fields
String FEATURE_CREDENTIALS  
String FEATURE_DEVICE_LOCK  
String FEATURE_IPSEC_TUNNEL_MIGRATION  
String FEATURE_UWB  
String FEATURE_WALLET_LOCATION_BASED_SUGGESTIONS  
long GET_ATTRIBUTIONS_LONG  
String PROPERTY_COMPAT_OVERRIDE_LANDSCAPE_TO_PORTRAIT  
String PROPERTY_SELF_CERTIFIED_NETWORK_CAPABILITIES  
String PROPERTY_SPECIAL_USE_FGS_SUBTYPE  
 

Changed Fields
int GET_ATTRIBUTIONS Now deprecated.