From e47b1858448b8ad1124c344d23f4b193add44445 Mon Sep 17 00:00:00 2001 From: Saurav Babu Date: Thu, 8 Oct 2015 18:31:09 +0530 Subject: [PATCH] [connman] Disabled favorite user checking before auto connection Change-Id: Ia405f931a698694362b819184bdea95b30f23e49 --- src/service.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/service.c b/src/service.c index 320e7cc..58a02a2 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) -- 2.7.4