Add new status 'is account linked'

This commit is contained in:
Erwan Croze 2016-10-07 17:25:29 +02:00
parent 576c42a8d1
commit 6491be7337
6 changed files with 26 additions and 1 deletions

View file

@ -1834,6 +1834,11 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
@Override
public void onAccountCreatorPhoneAccountRecovered(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {
}
}
interface ContactPicked {

View file

@ -680,6 +680,11 @@ private static AssistantActivity instance;
}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {
}
public CountryListAdapter getCountryListAdapter() {
return countryListAdapter;
}

View file

@ -185,4 +185,9 @@ public class CreateAccountCodeActivationFragment extends Fragment implements Lin
@Override
public void onAccountCreatorPhoneAccountRecovered(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {
}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, Status status) {
}
}

View file

@ -565,4 +565,9 @@ public class CreateAccountFragment extends Fragment implements CompoundButton.On
public void onAccountCreatorPhoneAccountRecovered(LinphoneAccountCreator accountCreator, Status status) {
}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, Status status) {
}
}

View file

@ -318,4 +318,9 @@ public class LinphoneLoginFragment extends Fragment implements CompoundButton.On
public void onAccountCreatorPhoneAccountRecovered(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {
AssistantActivity.instance().displayAssistantCodeConfirm(accountCreator.getUsername(), phoneNumberEdit.getText().toString(), LinphoneUtils.getCountryCode(dialCode), true);
}
@Override
public void onAccountCreatorIsAccountLinked(LinphoneAccountCreator accountCreator, LinphoneAccountCreator.Status status) {
}
}

@ -1 +1 @@
Subproject commit 6caf23eb5ce9c7c14e107a95cd4d3255ecc3a8c0
Subproject commit a5cdc5953c545ddc5f630ec896a2f313ccd552c5