public boolean isReconnectEnabled(){
  return preferences.getBoolean(resources.getString(R.string.key_reconnect),Boolean.parseBoolean(resources.getString(R.string.default_reconnect)));
}

public boolean isReconnectEnabled ( ) { return preferences . getBoolean ( resources . getString ( R . string . key_reconnect ) , Boolean . parseBoolean ( resources . getString ( R . string . default_reconnect ) ) ) ; }
is reconnect on disconnect enabled ?
