Match the AppStream metadata after a device has been adedd

This allows us to match specific properties by watching the ::DeviceChanged()
signal.
This commit is contained in:
Richard Hughes 2016-04-28 15:05:33 +01:00
parent 8ca33784ec
commit 422e866bc8

View File

@ -2101,6 +2101,10 @@ cd_main_provider_device_added_cb (FuProvider *provider,
}
}
/* match the metadata at this point so clients can tell if the
* device is worthy */
fu_main_get_updates_item_update (priv, item);
/* notify clients */
fu_main_emit_device_added (priv, item->device);
fu_main_emit_changed (priv);