Skip to content
Snippets Groups Projects
Commit aacf9e34 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

conversationfacade: remove contactservice

Change-Id: Ibfe00fa6defd960b46770a44b6647ff19aab5497
parent 956fdb17
No related branches found
No related tags found
No related merge requests found
......@@ -158,11 +158,10 @@ public class ServiceInjectionModule {
@Provides
@Singleton
ConversationFacade provideConversationFacade(
ContactService contactService,
HistoryService historyService,
CallService callService,
AccountService accountService) {
ConversationFacade conversationFacade = new ConversationFacade(historyService, callService, contactService, accountService);
ConversationFacade conversationFacade = new ConversationFacade(historyService, callService, accountService);
mRingApplication.getRingInjectionComponent().inject(conversationFacade);
return conversationFacade;
}
......
......@@ -44,7 +44,6 @@ import cx.ring.model.TrustRequest;
import cx.ring.model.Uri;
import cx.ring.services.AccountService;
import cx.ring.services.CallService;
import cx.ring.services.ContactService;
import cx.ring.services.DeviceRuntimeService;
import cx.ring.services.HardwareService;
import cx.ring.services.HistoryService;
......@@ -67,7 +66,6 @@ public class ConversationFacade {
private final static String TAG = ConversationFacade.class.getSimpleName();
private final AccountService mAccountService;
private final ContactService mContactService;
private final HistoryService mHistoryService;
private final CallService mCallService;
......@@ -87,10 +85,9 @@ public class ConversationFacade {
private final Observable<Account> currentAccountSubject;
public ConversationFacade(HistoryService historyService, CallService callService, ContactService contactService, AccountService accountService) {
public ConversationFacade(HistoryService historyService, CallService callService, AccountService accountService) {
mHistoryService = historyService;
mCallService = callService;
mContactService = contactService;
mAccountService = accountService;
currentAccountSubject = mAccountService
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment