Handle RIL_UNSOL_RESEND_INCALL_MUTE.
For bug 2400052. Notify registered handler whenever receiving RIL_UNSOL_RESEND_INCALL_MUTE.
This commit is contained in:
@@ -65,6 +65,7 @@ public abstract class BaseCommands implements CommandsInterface {
|
||||
protected RegistrantList mT53ClirInfoRegistrants = new RegistrantList();
|
||||
protected RegistrantList mT53AudCntrlInfoRegistrants = new RegistrantList();
|
||||
protected RegistrantList mRingbackToneRegistrants = new RegistrantList();
|
||||
protected RegistrantList mResendIncallMuteRegistrants = new RegistrantList();
|
||||
|
||||
protected Registrant mSMSRegistrant;
|
||||
protected Registrant mNITZTimeRegistrant;
|
||||
@@ -579,6 +580,15 @@ public abstract class BaseCommands implements CommandsInterface {
|
||||
mRingbackToneRegistrants.remove(h);
|
||||
}
|
||||
|
||||
public void registerForResendIncallMute(Handler h, int what, Object obj) {
|
||||
Registrant r = new Registrant (h, what, obj);
|
||||
mResendIncallMuteRegistrants.add(r);
|
||||
}
|
||||
|
||||
public void unregisterForResendIncallMute(Handler h) {
|
||||
mResendIncallMuteRegistrants.remove(h);
|
||||
}
|
||||
|
||||
//***** Protected Methods
|
||||
/**
|
||||
* Store new RadioState and send notification based on the changes
|
||||
|
||||
Reference in New Issue
Block a user