summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2014-12-16 00:01:32 (GMT)
committersbrissen <sbrissen@hotmail.com>2014-12-16 00:01:32 (GMT)
commitb33b70553d93c7d6b17dda0564efb0bea48bc652 (patch)
tree52b6fed7fb474046c5ea344437b45c8f82c854a4
parentd0d1184a87cb1f21be72a673307a72838edafc11 (diff)
downloaddevice_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.zip
device_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.tar.gz
device_samsung_smdk4412-qcom-common-b33b70553d93c7d6b17dda0564efb0bea48bc652.tar.bz2
smdk4412-qcom: revert "wait for sim status"
This is fixed in framework Change-Id: Ib291c5e50fbe5e0b0e59e26739eaccc3366c5e34
-rw-r--r--ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java27
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;
- }
- }
}