You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current desktop implementation, desktop permissions are automatically denied, so it does not actually let the OS handle the permission (it should be Granted instead of Denied automatically).
Current implementation looks like this:
@ExperimentalPermissionsApi
@Stable
internalclassMutablePermissionStateImpl(
overridevalpermission:Permission,
) : MutablePermissionState {
overridevar status:PermissionStatus by mutableStateOf(getPermissionStatus())
overridefunlaunchPermissionRequest() {}
overridefunopenAppSettings() {}
overridefunrefreshPermissionStatus() {}
privatefungetPermissionStatus(): PermissionStatus {
returnPermissionStatus.Denied(false) // This should be PermissionStatus.Granted
}
}
The text was updated successfully, but these errors were encountered: