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 #1292pull/1/head
parent
023d776e96
commit
1cb4d479f1
Loading…
Reference in New Issue