From f53e15cf384e0e48df799bb2e6fbdd4d9445bf77 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 16 Apr 2015 18:31:39 -0700 Subject: Update buttons state once UI is ready * updateUi was not getting called for outgoing calls between DIALING -> ACTIVE * Adhere to UI directive that buttons representing disabled functionality are hidden rather than disabled. * Also fix issue where buttons are not updated for incoming call. Bug: 20295789 Change-Id: I2606aa7b27c3dfb2de441737f1ecc2cc80ffdd7e --- .../com/android/incallui/CallButtonPresenter.java | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'InCallUI') diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java index 43431c73c..1ff30c667 100644 --- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java +++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java @@ -58,11 +58,16 @@ public class CallButtonPresenter extends Presenter