diff options
author | Santos Cordon <santoscordon@google.com> | 2013-11-18 17:03:04 -0800 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2013-11-18 17:07:38 -0800 |
commit | eb857b7f5fe3bef77dde91693f18cabd8c6d15d5 (patch) | |
tree | f1651bf12447cf9db08c347421d1a58fdf94eee7 | |
parent | cd83c12b31b1a7df7d83edf5fd62dca4f35c89c3 (diff) |
Decrease the timeout for unknown endcall screen from 5 to 2 sec.
bug:11651065
Change-Id: I1ab2b3690a4bb655e94811c8831a6da0d9400edb
-rw-r--r-- | InCallUI/src/com/android/incallui/CallList.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallList.java b/InCallUI/src/com/android/incallui/CallList.java index ba123b0c1..dee275570 100644 --- a/InCallUI/src/com/android/incallui/CallList.java +++ b/InCallUI/src/com/android/incallui/CallList.java @@ -25,6 +25,7 @@ import android.os.Handler; import android.os.Message; import com.android.services.telephony.common.Call; +import com.android.services.telephony.common.Call.DisconnectCause; import java.util.ArrayList; import java.util.HashMap; @@ -310,7 +311,9 @@ public class CallList { if (state != Call.State.IDLE && state != Call.State.INVALID && state != Call.State.DISCONNECTED) { + call.setState(Call.State.DISCONNECTED); + call.setDisconnectCause(DisconnectCause.UNKNOWN); updateCallInMap(call); } } @@ -380,6 +383,7 @@ public class CallList { delay = DISCONNECTED_CALL_SHORT_TIMEOUT_MS; break; case NORMAL: + case UNKNOWN: delay = DISCONNECTED_CALL_MEDIUM_TIMEOUT_MS; break; case INCOMING_REJECTED: |