* #38608: separate interface for direction and state of SipCall
diff --git a/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java b/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
index 2576bfa..45b1715 100644
--- a/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
+++ b/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
@@ -142,7 +142,7 @@
anotherView = (AnotherView) inflatedView.findViewById(R.id.anotherView);
((TextView) anotherView.findViewById(R.id.history_entry_number)).setText(getString(R.string.detail_hist_call_number, toDisplay.getNumber()));
- ((RelativeLayout) anotherView.findViewById(R.id.call_main_action)).setOnClickListener(new OnClickListener() {
+ anotherView.findViewById(R.id.call_main_action).setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
@@ -155,7 +155,7 @@
creds = (ArrayList<HashMap<String, String>>) mCallbacks.getService().getCredentials(toDisplay.getAccountID());
callBuilder.startCallCreation().setAccount(new Account(toDisplay.getAccountID(), details, creds))
- .setCallType(SipCall.state.CALL_TYPE_OUTGOING);
+ .setCallType(SipCall.direction.CALL_TYPE_OUTGOING);
callBuilder.setContact(toDisplay.getContact());
mCallbacks.onCall(callBuilder.build());