1. Set up a contact to actively reject the connection
2. The Contact calls
3. Cancel the contact's own unsolicited rejection
4. The Contact calls
Error:
Phone interface without avatar display, directly display a black screen, and click the Reject button appears the interface of the call process, and the actual background has been hung up
Change the Callnotifier.java file in the OnDisconnect () method below to add the following code for example:
if (!misshouldsendtovoicemail && ok2ring) {
Toast.maketext (Phoneapp.getinstance (). Getapplicationcontext (),
Formatduration ((int) (duration/1000)),
Toast.lengh_short). Show ();
}
---------ADD Code-------------
Misshouldsendtovoicemail = false;
Android refused to take the initiative and then cancel their own unsolicited, the contact phone interface without icon display, and click Hang Up no response