location-service should return the correct error source

Bug #1448187 reported by Nekhelesh Ramananthan on 2015-04-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
location-service (Ubuntu)
Undecided
Unassigned
qtubuntu-sensors (Ubuntu)
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://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html#sourceError-prop

Changed in location-service (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers