Commit 4399bce0 authored by Zeeshan Ali's avatar Zeeshan Ali

demo,agent: Set max accuracy level

Otherwise its set to 0 by default and that means geoclue will deny
location access to all clients.
parent c3b70a34
......@@ -173,6 +173,9 @@ on_manager_proxy_ready (GObject *source_object,
return;
}
agent = GCLUE_AGENT (g_task_get_source_object (task));
gclue_agent_set_max_accuracy_level (agent, GCLUE_ACCURACY_LEVEL_EXACT);
g_dbus_proxy_call (proxy,
"AddAgent",
g_variant_new ("(s)",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment