Update PS state when radio off or unavailable
authorYe Jingjing <jingjing.ye@sonymobile.com>
Thu, 6 Sep 2012 08:12:08 +0000 (10:12 +0200)
committerJohan Redestig <johan.redestig@sonymobile.com>
Tue, 26 Feb 2013 06:51:27 +0000 (07:51 +0100)
commitf1911ab88b20323cd0e4d005d7913f2df992f158
treee25b03613aba28f013de7a54c718e98781f76801
parentde70774912571d7e2d9de627a91df933b2d5f3c1
Update PS state when radio off or unavailable

When radio off or unavailable, CS state has been reset,
but PS state has not updated, in fact both CS and PS
state should be out of service. So SMS will try to be
sent out when sending sms, the result is "could not send"
rather than sms being queued for sending.
This fix will reset PS state to power off or out of
service when radio off or unavailable accordingly.

Bug: 8265430
Change-Id: I46e962c30021ff1273dcc559579bdedc7f432a64
src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java
src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java [changed mode: 0755->0644]
src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java