summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@jollamobile.com>2012-12-04 19:48:51 -0700
committerJohn Brooks <john.brooks@jollamobile.com>2012-12-04 19:48:51 -0700
commit6f36b3d09e390decae65460bc19ecda4cfe1d70f (patch)
tree8411321a67afcc897a071c6d3becfdb951d30e03
parent1e6bb17cf95ccb0b3a78a80d9b53db04c19481a0 (diff)
mcp-account-manager-ring: Add always_dispatch=true to force connection when offline
This flag will skip connectivity checks, to allow the account to be connected even when no internet connection is available on the device.
-rw-r--r--mc-plugin/mcp-account-manager-ring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mc-plugin/mcp-account-manager-ring.c b/mc-plugin/mcp-account-manager-ring.c
index 1f04d8b..80f8033 100644
--- a/mc-plugin/mcp-account-manager-ring.c
+++ b/mc-plugin/mcp-account-manager-ring.c
@@ -62,6 +62,7 @@ static void mcp_account_manager_ring_init(McpAccountManagerRing *self)
g_hash_table_insert(self->priv->params, g_strdup("DisplayName"), g_strdup("Cellular"));
g_hash_table_insert(self->priv->params, g_strdup("Enabled"), g_strdup("true"));
g_hash_table_insert(self->priv->params, g_strdup("ConnectAutomatically"), g_strdup("true"));
+ g_hash_table_insert(self->priv->params, g_strdup("always_dispatch"), g_strdup("true"));
}
static void mcp_account_manager_ring_class_init(McpAccountManagerRingClass *klass)