mm-origin: Notify emergency number change when we get a location

Technically the emergency numbers exported by the origin doesn't change
but it's enough to trigger the DBus signal so clients see the updated
numbers.
This commit is contained in:
Guido Günther 2023-07-19 12:41:51 +02:00
parent fd4b796742
commit 6aa356590b
1 changed files with 2 additions and 0 deletions

View File

@ -670,6 +670,8 @@ on_modem_location_get_3gpp_finish (GObject *source_object, GAsyncResult *res, gp
mcc,
self->network_country_code,
mm_object_get_path (self->mm_obj));
/* Trigger update of known emergency numbers */
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_EMERGENCY_NUMBERS]);
}