Stop showing incoming glowpad on outgoing call.
On outgoing calls, for a split second, the incoming glowpadview ring is
displayed before the normal outgoing UI. We do not want this.
For all CONNECTED calls, we hide the incoming call widget as part of the
transition to in-call controls. But for disconnected calls--like missed
calls--that result in an IDLE phone state (UNDEFINED state in
InCallScreen), we did not hide the widget and left it up to the next phone
transition (incoming call) to do so. This caused a flicker of widget
visibility on incoming calls.
This change updates InCallTouchUi on UNDEFINED states which removes the
glow pad view on the way out of a missed call.
bug: 8654681
Change-Id: I21564317428bf8ef30af13bacb4f3fb133862458
diff --git a/src/com/android/phone/InCallScreen.java b/src/com/android/phone/InCallScreen.java
index c49539b..5adabda 100755
--- a/src/com/android/phone/InCallScreen.java
+++ b/src/com/android/phone/InCallScreen.java
@@ -1010,6 +1010,11 @@
moveTaskToBack(true);
}
setInCallScreenMode(InCallScreenMode.UNDEFINED);
+
+ // Call update screen so that the in-call screen goes back to a normal state.
+ // This avoids bugs where a previous state will filcker the next time phone is
+ // opened.
+ updateScreen();
}
/**