checkPermissionInManifest