From d8eb77f116ba21a4f40fd59d608b2e8bbdf2e09b Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Fri, 1 Apr 2016 10:23:42 -0700 Subject: Add support for multi-endpoint. - Add new "ExternalCallNotifier" which tracks external calls that Telecom informs Incall about. - Refactored some common code from StatusBarNotifier that is used in ExternalCallNotifier into NotificationUtil so it can be used in both places. - Modified CallList to track and store external calls seperately from regular ones. - Added support for triggering a call pull in the NotificationBroadcastReceiver. Bug: 27458894 Change-Id: I505c8b5f7aad273ebdaaeae2431564d10b23770b --- InCallUI/src/com/android/incallui/InCallServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'InCallUI/src/com/android/incallui/InCallServiceImpl.java') diff --git a/InCallUI/src/com/android/incallui/InCallServiceImpl.java b/InCallUI/src/com/android/incallui/InCallServiceImpl.java index 86936973e..1414bc51d 100644 --- a/InCallUI/src/com/android/incallui/InCallServiceImpl.java +++ b/InCallUI/src/com/android/incallui/InCallServiceImpl.java @@ -64,8 +64,10 @@ public class InCallServiceImpl extends InCallService { InCallPresenter.getInstance().setUp( getApplicationContext(), CallList.getInstance(), + new ExternalCallList(), AudioModeProvider.getInstance(), new StatusBarNotifier(context, contactInfoCache), + new ExternalCallNotifier(context, contactInfoCache), contactInfoCache, new ProximitySensor( context, -- cgit v1.2.3