location-service should return the correct error source
Bug #1448187 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
location-service (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtubuntu-sensors (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The Location of the user can fail for several reasons,
- User not allowing trust-store to give location access to an app
- GPS service being disabled by the user
- Random error
Upstream Qt PositionSource provides the sourceError property [1] that allows apps to recognize this error type. At the moment ubuntu location-service just returns AccessError for all purposes. Knowing the exact type of error will immensely help apps recognize why it failed and keep their user informed.
[1] http://
Changed in location-service (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.