Updated liblinphone + fix dialer address clear
This commit is contained in:
parent
17093d9be5
commit
e1aab3c954
3 changed files with 9 additions and 3 deletions
|
@ -47,6 +47,7 @@ public class DialerFragment extends Fragment {
|
|||
private CallButton mCall;
|
||||
private ImageView mAddContact;
|
||||
private OnClickListener addContactListener, cancelListener, transferListener;
|
||||
private boolean shouldEmptyAddressField = true;
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
|
@ -108,6 +109,7 @@ public class DialerFragment extends Fragment {
|
|||
resetLayout(isCallTransferOngoing);
|
||||
|
||||
if (getArguments() != null) {
|
||||
shouldEmptyAddressField = false;
|
||||
String number = getArguments().getString("SipUri");
|
||||
String displayName = getArguments().getString("DisplayName");
|
||||
String photo = getArguments().getString("PhotoUri");
|
||||
|
@ -145,7 +147,12 @@ public class DialerFragment extends Fragment {
|
|||
LinphoneActivity.instance().selectMenu(FragmentsAvailable.DIALER);
|
||||
LinphoneActivity.instance().updateDialerFragment(this);
|
||||
}
|
||||
mAddress.setText("");
|
||||
|
||||
if (shouldEmptyAddressField) {
|
||||
mAddress.setText("");
|
||||
} else {
|
||||
shouldEmptyAddressField = true;
|
||||
}
|
||||
resetLayout(isCallTransferOngoing);
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ class LinphoneCallLogImpl implements LinphoneCallLog {
|
|||
public int getCallDuration() {
|
||||
return getCallDuration(nativePtr);
|
||||
}
|
||||
@Override
|
||||
public int getCallId() {
|
||||
return getCallId(nativePtr);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1cc0a418af4718014a614afdbe6f1cd7690a4ccf
|
||||
Subproject commit eb5ca31cfd8f7dbfde549a81455376b59ba121fe
|
Loading…
Reference in a new issue