diff options
author | sbrissen <sbrissen@hotmail.com> | 2014-12-15 19:01:32 -0500 |
---|---|---|
committer | sbrissen <sbrissen@hotmail.com> | 2014-12-15 19:01:32 -0500 |
commit | b33b70553d93c7d6b17dda0564efb0bea48bc652 (patch) | |
tree | 52b6fed7fb474046c5ea344437b45c8f82c854a4 /ril/telephony/java/com/android/internal/telephony | |
parent | d0d1184a87cb1f21be72a673307a72838edafc11 (diff) | |
download | android_device_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.tar.gz android_device_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.tar.bz2 android_device_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.zip |
smdk4412-qcom: revert "wait for sim status"
This is fixed in framework
Change-Id: Ib291c5e50fbe5e0b0e59e26739eaccc3366c5e34
Diffstat (limited to 'ril/telephony/java/com/android/internal/telephony')
-rw-r--r-- | ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java index a750ea4..79e8c45 100644 --- a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java +++ b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java @@ -72,8 +72,6 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface { private boolean dialCode = needsOldRilFeature("newDialCode"); private boolean samsungEmergency = needsOldRilFeature("samsungEMSReq"); - private Message mPendingGetSimStatus; - public smdk4x12QComRIL(Context context, int preferredNetworkType, int cdmaSubscription, Integer instanceId) { this(context, preferredNetworkType, cdmaSubscription); @@ -901,29 +899,4 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface { send(rr); } - - // Hack for Lollipop - // The system now queries for SIM status before radio on, resulting - // in getting an APPSTATE_DETECTED state. The RIL does not send an - // RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is - // initialized, so delay the message until the radio is on. - @Override - public void - getIccCardStatus(Message result) { - if (mState != RadioState.RADIO_ON) { - mPendingGetSimStatus = result; - } else { - super.getIccCardStatus(result); - } - } - - @Override - protected void switchToRadioState(RadioState newState) { - super.switchToRadioState(newState); - - if (newState == RadioState.RADIO_ON && mPendingGetSimStatus != null) { - super.getIccCardStatus(mPendingGetSimStatus); - mPendingGetSimStatus = null; - } - } } |