-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Closed
Copy link
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoplatform/windowst/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
In a popup summoned by Permissions.RequestAsync<Permissions.Microphone>() I denied the permission.
Now every call to Permissions.RequestAsync<Permissions.Microphone> or Permissions.CheckStatusAsync<Permissions.Microphone> returns Granted and subsequent attempt to start audio recording fails with UnauthorizedAccessException
Steps to Reproduce
var status = await Permissions.RequestAsync<Permissions.Microphone>();- deny
- `status = await Permissions.RequestAsync<Permissions.Microphone>();
Link to public reproduction project repository
No response
Version with bug
9.0.100 SR10
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.26100.75
Did you find any workaround?
Catch the exception and instruct user to enable permission manually
Relevant log output
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoplatform/windowst/bugSomething isn't workingSomething isn't working