summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2015-10-08 13:01:09 (GMT)
committerSaurav Babu <saurav.babu@samsung.com>2015-10-08 13:01:09 (GMT)
commite47b1858448b8ad1124c344d23f4b193add44445 (patch)
treeaaf100a3f2941ad5fcd47fd869e7f600d0cf2d8b
parent8b4bc4bc6b4dc5f2a5723421bd7da133647c3ce0 (diff)
downloadconnman-e47b1858448b8ad1124c344d23f4b193add44445.zip
connman-e47b1858448b8ad1124c344d23f4b193add44445.tar.gz
connman-e47b1858448b8ad1124c344d23f4b193add44445.tar.bz2
[connman] Disabled favorite user checking before auto connectionrefs/changes/14/49214/1
Change-Id: Ia405f931a698694362b819184bdea95b30f23e49
-rwxr-xr-xsrc/service.c6
1 files changed, 6 insertions, 0 deletions
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)