-
Yorke Lee authored
Replace CircularRevealActivity with a fragment that is tied to the lifecycle of InCallActivity so that InCallActivity is the only activity that is involved in the outgoing call process. Simplify some of the intent creation logic that is used to launch InCallActivity since we no longer need some of the flags that were currently provided via various method overloads in InCallPresenter.getAnimationIntent and getInCallIntent. To further simplify this CL, a very rudimentary approach is taken to track the state where we are starting up the UI but haven't received a call from Telecom yet. This is done by a boolean flag set on the InCallPresenter: mBoundAndWaitingForOutgoingCall. Further changes will build upon and improve this. Also set most elements inside primary_call_info.xml to visibility: GONE by default to fix some animation jank where a empty but not GONE view would continue to take up space. Change-Id: Ic70857685680af6868d4b2153d942d73eef3ca56
1e05f313