From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 2 May 2018 11:47:34 +0200
Subject: [PATCH] service-client: Delay "no agent" authorization decision
To avoid applications being denied access to location services when
gnome-shell hasn't had a chance to register its agent, either because
Geoclue got auto-started by the application, or because the shell hasn't
finished starting up, delay the authorization check until either an
agent appears, or 5 seconds after the application requested the
authorization.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
---
src/gclue-service-client.c | 71 ++++++++++++++++++++++++++++++++++----
1 file changed, 64 insertions(+), 7 deletions(-)