boolean has_permission = (PackageManager.PERMISSION_GRANTED == pkm.checkPermission("android.permission.ACCESS_FINE_LOCATION", "YourPackagename"));
boolean返回值为真,则含有该权限
boolean has_permission = (PackageManager.PERMISSION_GRANTED == pkm.checkPermission("android.permission.ACCESS_FINE_LOCATION", "YourPackagename"));
boolean返回值为真,则含有该权限