Comment 3 for bug 657178

Revision history for this message
Rodja (trappe) wrote :

I think there are two simple solutions:

1. move the lines

if (!service.needsAuth()){
    resetLocalDatabase();
}

into the onPreferenceChangeListener

2. find an other way to enable or disable the server field depending on the selected sync service, without calling setServer() in OnCreate.