Fixed empty detail history page
This commit is contained in:
parent
217e88ce30
commit
148235f2bb
1 changed files with 1 additions and 6 deletions
|
@ -210,13 +210,8 @@ public class HistoryDetailFragment extends Fragment {
|
|||
Core core = LinphoneManager.getCore();
|
||||
if (address != null && core != null) {
|
||||
address.clean();
|
||||
ProxyConfig proxyConfig = core.getDefaultProxyConfig();
|
||||
CallLog[] logs;
|
||||
if (proxyConfig != null) {
|
||||
logs = core.getCallHistory(address, proxyConfig.getIdentityAddress());
|
||||
} else {
|
||||
logs = core.getCallHistoryForAddress(address);
|
||||
}
|
||||
logs = core.getCallHistoryForAddress(address);
|
||||
List<CallLog> logsList = Arrays.asList(logs);
|
||||
mLogsList.setAdapter(
|
||||
new HistoryLogAdapter(
|
||||
|
|
Loading…
Reference in a new issue