diff options
author | taesub kim <taesub.kim@samsung.com> | 2015-10-29 19:46:02 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2015-10-29 19:46:02 -0700 |
commit | f4b6dfbed5104504344038b3b522391ac8d19d81 (patch) | |
tree | 79768df97dd37c35b4f049770b7ad46e4a74401e /src | |
parent | 811c8790cfc2a5cf3806558be7aecac544037ebb (diff) | |
parent | e47b1858448b8ad1124c344d23f4b193add44445 (diff) | |
download | connman-f4b6dfbed5104504344038b3b522391ac8d19d81.tar.gz connman-f4b6dfbed5104504344038b3b522391ac8d19d81.tar.bz2 connman-f4b6dfbed5104504344038b3b522391ac8d19d81.zip |
Merge "[connman] Disabled favorite user checking before auto connection" into tizensubmit/tizen/20151030.042942accepted/tizen/wearable/20151030.063221accepted/tizen/tv/20151030.063212accepted/tizen/mobile/20151030.063205
Diffstat (limited to 'src')
-rwxr-xr-x | src/service.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index 1ee4c4c0..adbb1bce 100755 --- a/src/service.c +++ b/src/service.c @@ -472,6 +472,7 @@ connman_service_is_user_allowed(struct connman_service *service, uid_t uid) return true; } +#if !defined TIZEN_EXT static GList *connman_service_get_login_users() { struct utmpx *utmp; @@ -497,9 +498,13 @@ static GList *connman_service_get_login_users() return user_list; } +#endif static bool is_service_owner_user_login(struct connman_service *service) { +#if defined TIZEN_EXT + return true; +#else GList *list, *user_list; bool ret = false; @@ -529,6 +534,7 @@ static bool is_service_owner_user_login(struct connman_service *service) g_list_free(user_list); return ret; +#endif } int __connman_service_load_modifiable(struct connman_service *service) |