The bug occurs after removing location access authorization to an application. The location is still available to the application, despite the user having revoked access from within USS > Privacy > Location.
To reproduce:
1. Open a map application, like Here map
2. Allow access to location
3. Switch to System Settings > Privacy > Location
4. Disable location access for Maps
5. Kill Here map, and restart it
What should happen: you should not have access anymore (and should not see a prompt)
What happens instead: the app still has access to your location, as shown in the logs:
The bug occurs after removing location access authorization to an application. The location is still available to the application, despite the user having revoked access from within USS > Privacy > Location.
To reproduce:
1. Open a map application, like Here map
2. Allow access to location
3. Switch to System Settings > Privacy > Location
4. Disable location access for Maps
5. Kill Here map, and restart it
What should happen: you should not have access anymore (and should not see a prompt)
What happens instead: the app still has access to your location, as shown in the logs:
I1030 16:15:38.167752 3100 cached_ agent_glog_ reporter. cpp:32] CachedAgent: :authenticate_ request_ with_parameters : Application pid: 27975 Application uid: 32011 Application id: com.nokia. heremaps_ here Cached request: Request(from: com.nokia. heremaps_ here, feature: 0, when: 141468211488251 9283, answer: granted)
I confirmed that the trust store had recorded the authorization change as in:
phablet@ ubuntu- phablet: ~$ sqlite3 ~/.local/ share/UbuntuLoc ationService/ trust.db "select * from requests" 0|1414098093331 252474| 1 heremaps_ here|0| 141468211488251 9283|1 heremaps_ here|0| 141468213120634 1515|0
1|unconfined|
2|com.nokia.
3|com.nokia.