Hi Alok,
> > If user forget to turnoff offlinmode, all device will be always offline
> > after restart connmand or reboot, it may confuse the user.
> > ---
> > src/technology.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/technology.c b/src/technology.c
> > index 96d64af..a067d68 100644
> > --- a/src/technology.c
> > +++ b/src/technology.c
> > @@ -395,7 +395,7 @@ static connman_bool_t
> > connman_technology_load_offlinemode()
> > offlinemode = g_key_file_get_boolean(keyfile, "global",
> > "OfflineMode", &error);
> > if (error != NULL) {
> > - offlinemode = TRUE;
> > + offlinemode = FALSE;
> > g_clear_error(&error);
> > }
> > __connman_storage_close_profile("default", keyfile, FALSE);
> >
>
> IMO If the user forgot to turnoff offlinemode, then the device should start
> in offlinemode.
that is correct. If the user took an action, that action is binding. If
this means that we start in offline mode, so be it.
The startup scripts, homescreen or any other master application can of
course ask the user if it wants to return to online mode, but we are not
doing this without another user interaction.
Regards
Marcel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman