diff options
author | jsh <jsh@google.com> | 2009-09-01 16:13:55 -0700 |
---|---|---|
committer | jsh <jsh@google.com> | 2009-09-01 16:13:55 -0700 |
commit | 5b462477a90cd08551149fc649ff3035b5331d2d (patch) | |
tree | dfaeac31496498593b9ab882ebad9daa11a61200 /telephony | |
parent | 485e6dca960c2001349de0817c644f24ae85c6e3 (diff) | |
download | frameworks_base-5b462477a90cd08551149fc649ff3035b5331d2d.zip frameworks_base-5b462477a90cd08551149fc649ff3035b5331d2d.tar.gz frameworks_base-5b462477a90cd08551149fc649ff3035b5331d2d.tar.bz2 |
Fix some sign in errors.
AccountManagerService.SimWatcher was checking if storedImsi = "initial"
instead of null as an initial condition. Also, on NV-only CDMA devices
we were only sending SIM_STATE_CHANGED notifications when the radio
powered down, which meant storedImsi was only initialized if the radio
powered down.
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java b/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java index 4c958f6..dab529e 100644 --- a/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java +++ b/telephony/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java @@ -46,6 +46,7 @@ import com.android.internal.telephony.CommandException; import com.android.internal.telephony.CommandsInterface; import com.android.internal.telephony.DataConnectionTracker; import com.android.internal.telephony.gsm.MccTable; +import com.android.internal.telephony.IccCard; import com.android.internal.telephony.PhoneProxy; import com.android.internal.telephony.ServiceStateTracker; import com.android.internal.telephony.TelephonyEventLog; @@ -443,6 +444,8 @@ final class CdmaServiceStateTracker extends ServiceStateTracker { if (!mIsMinInfoReady) { mIsMinInfoReady = true; } + phone.getIccCard().broadcastIccStateChangedIntent(IccCard.INTENT_VALUE_ICC_IMSI, + null); } else { Log.w(LOG_TAG,"error parsing cdmaSubscription params num=" + cdmaSubscription.length); |