iOS: Report PermissionStatus::Denied when detecting accuracy mismatch
There's no way to upgrade an Approximate accuracy permission to Precise, so once we have a known status we report the lacking accuracy as Denied. Pick-to: 6.5 Change-Id: Id49af825335ff09669aa7f2285caaa744a5a4d24 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Juha Vuolle <juha.vuolle@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>bb10
parent
0c2ee11f41
commit
e2030e366b
|
|
@ -116,7 +116,7 @@ struct PermissionRequest
|
|||
if (permission.accuracy() == QLocationPermission::Approximate)
|
||||
return Qt::PermissionStatus::Granted;
|
||||
else
|
||||
return Qt::PermissionStatus::Denied; // FIXME: Verify
|
||||
return Qt::PermissionStatus::Denied;
|
||||
}
|
||||
|
||||
Q_UNREACHABLE();
|
||||
|
|
|
|||
Loading…
Reference in New Issue