Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit c5e0e87

Browse files
jamesmontemagnomattleibow
authored andcommitted
Fixes #1051 Make sure CheckStatusAsync works property on Android (#1052)
1 parent b6971d8 commit c5e0e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xamarin.Essentials/Permissions/Permissions.android.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public override Task<PermissionStatus> CheckStatusAsync()
4848
if (!IsDeclaredInManifest(ap))
4949
throw new PermissionException($"You need to declare using the permission: `{androidPermission}` in your AndroidManifest.xml");
5050

51-
var status = PermissionStatus.Denied;
51+
var status = PermissionStatus.Granted;
5252

5353
if (targetsMOrHigher)
5454
{

0 commit comments

Comments
 (0)