mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed link account with phone number feature
This commit is contained in:
parent
1920bd8875
commit
2e6dfcaa53
1 changed files with 9 additions and 0 deletions
|
|
@ -237,9 +237,18 @@ public class PhoneAccountLinkingAssistantActivity extends AssistantActivity {
|
|||
super.onResume();
|
||||
|
||||
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) {
|
||||
reloadLinphoneAccountCreatorConfig();
|
||||
}
|
||||
AccountCreator creator = getAccountCreator();
|
||||
creator.setUsername(username);
|
||||
creator.setHa1(ha1);
|
||||
creator.setAlgorithm(algo);
|
||||
|
||||
getAccountCreator().addListener(mListener);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue