fix ApplicationPackageManager for api-10