malcontent/libeos-parental-controls
Philip Withnall 7688308f86 lib: Fix handling of accountsservice queries for missing users
Since we ported to using FindUserById, it returns an explicit Failed
error if a user doesn’t exist. Previously, we would guess at the user’s
object path and call a method on it, and would receive a D-Bus ‘method
not found’ error in response if the user didn’t exist.

Correctly handle the explicit error from FindUserById.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://phabricator.endlessm.com/T24004
2018-12-12 13:39:51 +00:00
..
tests accounts-service: Add allow-user-installation setting 2018-11-29 21:16:36 +00:00
app-filter.c lib: Fix handling of accountsservice queries for missing users 2018-12-12 13:39:51 +00:00
app-filter.h accounts-service: Add allow-user-installation setting 2018-11-29 21:16:36 +00:00
meson.build libeos-parental-controls: Add epc_app_filter_is_appinfo_allowed() API 2018-11-27 13:58:00 +00:00