Esempio n. 1
0
 @Override
 public void rejectCall() throws CallStateException {
   synchronized (SipPhone.class) {
     if (mRingingCall.getState().isRinging()) {
       if (DBG) log("rejectCall: rejecting");
       mRingingCall.rejectCall();
     } else {
       if (DBG) {
         log("rejectCall:" + " throw CallStateException(\"phone not ringing\")");
       }
       throw new CallStateException("phone not ringing");
     }
   }
 }