am 0e58a952: am 0bba9535: Merge "Throw proper exceptions in SipManager" into gingerbread

* commit '0e58a9529895e270dae90e69486a59e41de714b8':
  Throw proper exceptions in SipManager
This commit is contained in:
Hung-ying Tyan
2010-11-30 16:23:54 -08:00
committed by Android Git Automerger
2 changed files with 12 additions and 9 deletions

View File

@@ -393,12 +393,11 @@ public class SipPhone extends SipPhoneBase {
new SipProfile.Builder(calleeSipUri).build();
SipConnection c = new SipConnection(this, callee,
originalNumber);
connections.add(c);
c.dial();
connections.add(c);
setState(Call.State.DIALING);
return c;
} catch (ParseException e) {
// TODO: notify someone
throw new SipException("dial", e);
}
}