Make setting and unsetting InCallPresenter.mInCallActivity more robust
It is not likely because InCallActivity is single instance, but protect
against InCallPresenter.setActivity(null) being called by a second instance
of InCallActivity while the first is still active.
Also minimize the time InCallPresenter spends on the state where
mInCallActivity is not null but it is also finishing.
Bug: 18150786
Change-Id: I51ea5765cbc72cd9d0144d3f6bb6f64a7c8f17cf
2 files changed
tree: fe01f028ac30df8d12d575f64f5bec6f1ac0cdc1
- InCallUI/