WhisperSystems/RedPhone — pull request #41 by moxie0 (2012-10-15 02:09:33+00:00)
Title: Chip away at ApplicationContext.

I'd like to get rid of ApplicationContext, because it's making some changes I'd like to make difficult.

I've eliminated all of the dependence on ApplicationContext, with the exception of the Util.dieWithError methods. Can you:

1) Modify the subscribers of Util.dieWithError to pass their errors back up the stack to a caller that's more appropriate for interacting with a CallStateListener?

2) I've modified RtpSocket to interact with CallStateListener directly, but it seems as if that'd also be a good candidate for moving the error handling up the stack.

I've marked both places with XXX-S