Class android.content.pm.PackageManager

Added Methods
boolean canPackageQuery(String, String)  
ActivityInfo getActivityInfo(ComponentName, ComponentInfoFlags)  
ApplicationInfo getApplicationInfo(String, ApplicationInfoFlags)  
List<ApplicationInfo> getInstalledApplications(ApplicationInfoFlags)  
List<PackageInfo> getInstalledPackages(PackageInfoFlags)  
IntentSender getLaunchIntentSenderForPackage(String)  
PackageInfo getPackageArchiveInfo(String, PackageInfoFlags)  
int[] getPackageGids(String, PackageInfoFlags)  
PackageInfo getPackageInfo(VersionedPackage, PackageInfoFlags)  
PackageInfo getPackageInfo(String, PackageInfoFlags)  
int getPackageUid(String, PackageInfoFlags)  
List<PackageInfo> getPackagesHoldingPermissions(String[], PackageInfoFlags)  
ProviderInfo getProviderInfo(ComponentName, ComponentInfoFlags)  
ActivityInfo getReceiverInfo(ComponentName, ComponentInfoFlags)  
ServiceInfo getServiceInfo(ComponentName, ComponentInfoFlags)  
List<SharedLibraryInfo> getSharedLibraries(PackageInfoFlags)  
List<ResolveInfo> queryBroadcastReceivers(Intent, ResolveInfoFlags)  
List<ProviderInfo> queryContentProviders(String, int, ComponentInfoFlags)  
List<ResolveInfo> queryIntentActivities(Intent, ResolveInfoFlags)  
List<ResolveInfo> queryIntentActivityOptions(ComponentName, List<Intent>, Intent, ResolveInfoFlags)  
List<ResolveInfo> queryIntentContentProviders(Intent, ResolveInfoFlags)  
List<ResolveInfo> queryIntentServices(Intent, ResolveInfoFlags)  
ResolveInfo resolveActivity(Intent, ResolveInfoFlags)  
ProviderInfo resolveContentProvider(String, ComponentInfoFlags)  
ResolveInfo resolveService(Intent, ResolveInfoFlags)  
void setComponentEnabledSettings(List<ComponentEnabledSetting>)  
 

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

Added Fields
String FEATURE_EXPANDED_PICTURE_IN_PICTURE  
String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES  
String FEATURE_SENSOR_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED  
String FEATURE_SENSOR_DYNAMIC_HEAD_TRACKER  
String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES  
String FEATURE_SENSOR_GYROSCOPE_LIMITED_AXES_UNCALIBRATED  
String FEATURE_SENSOR_HEADING  
String FEATURE_TELECOM  
String FEATURE_TELEPHONY_CALLING  
String FEATURE_TELEPHONY_DATA  
String FEATURE_TELEPHONY_EUICC_MEP  
String FEATURE_TELEPHONY_MESSAGING  
String FEATURE_TELEPHONY_RADIO_ACCESS  
String FEATURE_TELEPHONY_SUBSCRIPTION  
String FEATURE_WINDOW_MAGNIFICATION  
 

Changed Fields
String FEATURE_CONNECTION_SERVICE Now deprecated.