status/location: Change permission table
There is now a location portal that provides a similar role as our agent. Settings supports that portal in its application panel, which allows users to revisit their choice later. Unfortunately it uses a different permission store table, so any permissions granted (or denied) through our agent won't show up there. To change that, switch to the same table as the portal/Settings. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1945>
This commit is contained in:
parent
f313eb08ac
commit
c6b72ccd15
@ -16,8 +16,8 @@ const LOCATION_SCHEMA = 'org.gnome.system.location';
|
||||
const MAX_ACCURACY_LEVEL = 'max-accuracy-level';
|
||||
const ENABLED = 'enabled';
|
||||
|
||||
const APP_PERMISSIONS_TABLE = 'gnome';
|
||||
const APP_PERMISSIONS_ID = 'geolocation';
|
||||
const APP_PERMISSIONS_TABLE = 'location';
|
||||
const APP_PERMISSIONS_ID = 'location';
|
||||
|
||||
var GeoclueAccuracyLevel = {
|
||||
NONE: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user