use of com.android.incallui.call.ExternalCallList in project android_packages_apps_Dialer by LineageOS.
the class InCallServiceImpl method onBind.
@Override
public IBinder onBind(Intent intent) {
final Context context = getApplicationContext();
final ContactInfoCache contactInfoCache = ContactInfoCache.getInstance(context);
InCallPresenter.getInstance().setUp(context, CallList.getInstance(), new ExternalCallList(), new StatusBarNotifier(context, contactInfoCache), new ExternalCallNotifier(context, contactInfoCache), contactInfoCache, new ProximitySensor(context, AudioModeProvider.getInstance(), new AccelerometerListener(context)), new FilteredNumberAsyncQueryHandler(context));
InCallPresenter.getInstance().onServiceBind();
InCallPresenter.getInstance().maybeStartRevealAnimation(intent);
TelecomAdapter.getInstance().setInCallService(this);
if (ReturnToCallController.isEnabled(this)) {
returnToCallController = new ReturnToCallController(this);
}
return super.onBind(intent);
}
Aggregations