Fixed link account with phone number feature
This commit is contained in:
parent
1704946922
commit
d879f9d746
1 changed files with 9 additions and 0 deletions
|
@ -237,9 +237,18 @@ public class PhoneAccountLinkingAssistantActivity extends AssistantActivity {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
||||||
Core core = LinphoneManager.getCore();
|
Core core = LinphoneManager.getCore();
|
||||||
|
|
||||||
|
// Save & restore username & password informations, reload will reset
|
||||||
|
String username = getAccountCreator().getUsername();
|
||||||
|
String ha1 = getAccountCreator().getHa1();
|
||||||
|
String algo = getAccountCreator().getAlgorithm();
|
||||||
if (core != null) {
|
if (core != null) {
|
||||||
reloadLinphoneAccountCreatorConfig();
|
reloadLinphoneAccountCreatorConfig();
|
||||||
}
|
}
|
||||||
|
AccountCreator creator = getAccountCreator();
|
||||||
|
creator.setUsername(username);
|
||||||
|
creator.setHa1(ha1);
|
||||||
|
creator.setAlgorithm(algo);
|
||||||
|
|
||||||
getAccountCreator().addListener(mListener);
|
getAccountCreator().addListener(mListener);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue