History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/CallStateException.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
86f275d954a0b349fe773b56b1431928288e727e 04-May-2017 Jayachandran C <jayachandranc@google.com> Check for service state before dialing normal voice call in the CS pipe

1) Rename CallStateException ERROR_DISCONNECTED to ERROR_OUT_OF_SERVICE

2) Do not dial in the CS pipe if CS is out of service and PS is not in LTE.
TelephonyConnectionService#getTelephonyConnection() doesn't filter in
some cases (ex. CS is out of service and IMS registered for SMS only) so
added this check to filter dialing the normal voice call to modem.

3) If dial is not allowed then throw CallStateException ERROR_OUT_OF_SERVICE
which will trigger notifying user to enable VoWiFi if WFC is disabled,
WFC provisioned and connected to WiFi.

4) Optimized imports

Test: Dial voice and video calls for all the combinations of the following
- CS : No service, 1x, GSM, UMTS, LTE
- PS : No service, 1x, eHRPD, GSM, UMTS, LTE
- IMS : No service, SMS only, SMS&VT only, VoLTE
- WiFi: Connected, Disconnected
- WFC : Enabled, Disabled

Bug: 37405103
Change-Id: I0fb91e06aac99b1c4cf163c7b5858a694b40c91c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallStateException.java
16ebf27f93b3c8c5aaf4aa6a169a63a2dae5f436 14-Feb-2017 Meng Wang <mewan@google.com> Don't dial non-emergency CS voice call in airplane mode

Added a new CallStateException error code ERROR_POWER_OFF

Bug: 28709116
Change-Id: Ia63196d5e8c051a91da3e2a7e60ac605dccf8344
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallStateException.java
d20c102c3efad73ff1e560236b4396c0a244a8da 25-Mar-2015 Pavel Zhamaitsiak <pavelz@google.com> Add optional error codes to CallStateException

Bug: 19583351
Change-Id: I5d8b1ccb4ffc68fad6171e443468775760e83fec
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallStateException.java
0825495a331bb44df395a0cdb79fab85e68db5d5 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CallStateException.java