Fix #492
This commit is contained in:
parent
1dc336253f
commit
349b040236
1 changed files with 3 additions and 3 deletions
|
@ -151,9 +151,9 @@ public class LoginDialogFragment extends DialogFragment implements IAccountImpor
|
||||||
mPasswordView.addTextChangedListener(PasswordTextChangedListener);
|
mPasswordView.addTextChangedListener(PasswordTextChangedListener);
|
||||||
|
|
||||||
SharedPreferences mPrefs = PreferenceManager.getDefaultSharedPreferences(getActivity());
|
SharedPreferences mPrefs = PreferenceManager.getDefaultSharedPreferences(getActivity());
|
||||||
mUsername = mPrefs.getString(SettingsActivity.EDT_USERNAME_STRING, null);
|
mUsername = mPrefs.getString(SettingsActivity.EDT_USERNAME_STRING, "");
|
||||||
mPassword = mPrefs.getString(SettingsActivity.EDT_PASSWORD_STRING, null);
|
mPassword = mPrefs.getString(SettingsActivity.EDT_PASSWORD_STRING, "");
|
||||||
mOc_root_path = mPrefs.getString(SettingsActivity.EDT_OWNCLOUDROOTPATH_STRING, null);
|
mOc_root_path = mPrefs.getString(SettingsActivity.EDT_OWNCLOUDROOTPATH_STRING, "");
|
||||||
mCbDisableHostnameVerification = mPrefs.getBoolean(SettingsActivity.CB_DISABLE_HOSTNAME_VERIFICATION_STRING, false);
|
mCbDisableHostnameVerification = mPrefs.getBoolean(SettingsActivity.CB_DISABLE_HOSTNAME_VERIFICATION_STRING, false);
|
||||||
|
|
||||||
if(!mPassword.isEmpty()) {
|
if(!mPassword.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue