Fix FC after clear all logs
This commit is contained in:
parent
2044a91797
commit
acd9b95d20
2 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,7 @@ public class HistoryFragment extends Fragment implements OnClickListener, OnChil
|
|||
}
|
||||
else if (id == R.id.deleteAll) {
|
||||
LinphoneManager.getLc().clearCallLogs();
|
||||
initLogsLists(new ArrayList<LinphoneCallLog>());
|
||||
}
|
||||
|
||||
historyList.setAdapter(new CallHistoryAdapter(getActivity()));
|
||||
|
|
|
@ -144,6 +144,7 @@ public class HistorySimpleFragment extends Fragment implements OnClickListener,
|
|||
}
|
||||
else if (id == R.id.deleteAll) {
|
||||
LinphoneManager.getLc().clearCallLogs();
|
||||
mLogs = new ArrayList<LinphoneCallLog>();
|
||||
}
|
||||
|
||||
historyList.setAdapter(new CallHistoryAdapter(getActivity().getApplicationContext()));
|
||||
|
|
Loading…
Reference in a new issue