Fix prefix reseting bug
This commit is contained in:
parent
d930b5533a
commit
b5fa7df119
3 changed files with 2 additions and 2 deletions
|
@ -375,6 +375,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment implemen
|
||||||
if(!isNewAccount){
|
if(!isNewAccount){
|
||||||
String prefixValue = mPrefs.getPrefix(n);
|
String prefixValue = mPrefs.getPrefix(n);
|
||||||
prefix.setText(prefixValue);
|
prefix.setText(prefixValue);
|
||||||
|
prefix.setSummary(prefixValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBoxPreference avpf = (CheckBoxPreference) advanced.getPreference(5);
|
CheckBoxPreference avpf = (CheckBoxPreference) advanced.getPreference(5);
|
||||||
|
|
|
@ -214,7 +214,6 @@ public class ContactsManager extends ContentObserver {
|
||||||
for (LinphoneNumberOrAddress noa: c.getNumbersOrAddresses()) {
|
for (LinphoneNumberOrAddress noa: c.getNumbersOrAddresses()) {
|
||||||
String normalized = null;
|
String normalized = null;
|
||||||
if (lpc != null) {
|
if (lpc != null) {
|
||||||
lpc.setDialPrefix("");
|
|
||||||
normalized = lpc.normalizePhoneNumber(noa.getValue());
|
normalized = lpc.normalizePhoneNumber(noa.getValue());
|
||||||
}
|
}
|
||||||
String alias = c.getPresenceModelForUri(noa.getValue());
|
String alias = c.getPresenceModelForUri(noa.getValue());
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d08be6e6c7c703b4a476e49877719fd6423755ec
|
Subproject commit c0b32a738f238c0d87e83ec6eda3d6e0de6bbe51
|
Loading…
Reference in a new issue