*/
int user_pdn_connection_refcount;
#endif
-#if defined TIZEN_TV_EXT
- enum connman_dnsconfig_method dns_config_method;
-#endif
};
static bool allow_property_changed(struct connman_service *service);
service->domains = g_strdupv(domains);
}
+#if defined TIZEN_EXT
+void __connman_service_set_autoconnect(struct connman_service *service,
+ bool autoconnect)
+{
+ if (service == NULL)
+ return;
+
+ if (service->autoconnect != autoconnect) {
+ DBG("updated autoconnect flag (%d)", autoconnect);
+ service->autoconnect = autoconnect;
+ service_save(service);
+ }
+}
+#endif
+
static void service_complete(struct connman_service *service)
{
reply_pending(service, EIO);