Improve outgoing call UI responsiveness
* 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
Conflicts:
src/com/android/incallui/CallCardFragment.java
src/com/android/incallui/InCallActivity.java
src/com/android/incallui/InCallPresenter.java
Change-Id: If7c2bd2a37a1256e59936e37bc0871080826e881
8 files changed