Commit c9f4dc72 authored by Zeeshan Ali's avatar Zeeshan Ali

service-client: Fix a check for system app

We don't want to stop a system app client on agent's behalf but our check
for system apps was inverted so we ended up doing the opposite. :( Thanks
to Florian Müllner for pointing this out.
parent 06d46384
Pipeline #7287 passed with stage
in 7 minutes and 16 seconds
......@@ -340,7 +340,7 @@ on_agent_props_changed (GDBusProxy *agent_proxy,
id = gclue_dbus_client_get_desktop_id (gdbus_client);
max_accuracy = g_variant_get_uint32 (value);
system_app = (gclue_client_info_get_xdg_id
(client->priv->client_info) != NULL);
(client->priv->client_info) == NULL);
/* FIXME: We should be handling all values of max accuracy
* level here, not just 0 and non-0.
*/
......
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