diff options
-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; - } - } } |