From 609c0d0d02c8b45369095ae69951fa687ee25673 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 24 Nov 2014 09:25:08 -0800 Subject: 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 Change-Id: I44c593373864ffc0ba9edebb88887177112d8b27 --- InCallUI/res/values/styles.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'InCallUI/res/values/styles.xml') diff --git a/InCallUI/res/values/styles.xml b/InCallUI/res/values/styles.xml index 17edfafc5..d99c66847 100644 --- a/InCallUI/res/values/styles.xml +++ b/InCallUI/res/values/styles.xml @@ -84,12 +84,23 @@ (Note that InCallActivity won't be destroyed once it is created) TODO: try removing the flag instead --> - @anim/activity_open_enter + @null @anim/activity_open_exit @anim/activity_open_enter @anim/activity_open_exit + +