WhisperSystems/TextSecure — pull request #1322 by patheticpat (2014-04-08 14:38:49+00:00)
Title: Finish activity before restarting it

The current activity needs to be finished before calling startActivity.
Otherwise, activities with launchMode singleTask (ConversationListActivity)
will receive a new Intent instead of getting restarted. And in response to the
new Intent, they will run onResume once again and trigger a second restart.

Fixes #1292