public class

CallNotifier

extends Handler
java.lang.Object
   ↳ android.os.Handler
     ↳ com.android.phone.CallNotifier

Class Overview

Phone app module that listens for phone state changes and various other events from the telephony layer, and triggers any resulting UI behavior (like starting the Ringer and Incoming Call UI, playing in-call tones, updating notifications, writing call log entries, etc.)

Summary

Public Constructors
CallNotifier(PhoneApp app, Phone phone, Ringer ringer, BluetoothHandsfree btMgr, CallLogAsync callLog)
Public Methods
void handleMessage(Message msg)
void onQueryComplete(int token, Object cookie, CallerInfo ci)
Implemented for CallerInfoAsyncQuery.OnQueryCompleteListener interface.
[Expand]
Inherited Methods
From class android.os.Handler
From class java.lang.Object

Public Constructors

public CallNotifier (PhoneApp app, Phone phone, Ringer ringer, BluetoothHandsfree btMgr, CallLogAsync callLog)

Public Methods

public void handleMessage (Message msg)

public void onQueryComplete (int token, Object cookie, CallerInfo ci)

Implemented for CallerInfoAsyncQuery.OnQueryCompleteListener interface. refreshes the CallCard data when it called. If called with this class itself, it is assumed that we have been waiting for the ringtone and direct to voicemail settings to update.