Fix crash if popup don't exist
This commit is contained in:
parent
ace3b74f72
commit
5329d7c6e1
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment implemen
|
|||
|
||||
@Override
|
||||
public void onAccountCreatorPasswordUpdated(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.RequestStatus status) {
|
||||
progress.dismiss();
|
||||
if (progress != null) progress.dismiss();
|
||||
if (status.equals(LinphoneAccountCreator.RequestStatus.Ok)) {
|
||||
mPrefs.setAccountPassword(n, accountCreator.getPassword());
|
||||
PreferenceCategory account = (PreferenceCategory) getPreferenceScreen().findPreference(getString(R.string.pref_sipaccount_key));
|
||||
|
|
Loading…
Reference in a new issue