-
Yorke Lee authored
* Start InCallUI immediately once Telecom binds * This CL is a bandaid for improving outgoing call responsiveness in the MR1 timeframe. Refactoring InCallActivity into dynamically added fragments and modifying its lifecycle with respect to the call list is too risky. * Add a lightweight activity (CircularRevealAnimationActivity) that is used to display the circular reveal animation while the significantly heavier InCallActivity is starting up * Inside InCallServiceImpl.bind, start the reveal animation once bind is called to avoid being blocked by any synchronous work in Telecom. * Refactor CallCardFragment.animateForNewOutgoingCall to conditionally display the reveal animation, depending on whether or not it was already displayed by the CircularRevealAnimationActivity. * Refactor the calculation of theme colors in InCallPresenter so that the CircularRevealAnimationActivity can use those colors as well. * Remove PENDING_OUTGOING from the list of call states that bring up InCallUI. Bug: 18373617 Bug: 18611753 Change-Id: I44c593373864ffc0ba9edebb88887177112d8b27
c670713a