summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java b/telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java
index 0b19225..f2bf9c7 100644
--- a/telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java
+++ b/telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java
@@ -50,8 +50,6 @@ public class QualcommNoSimReadyRIL extends RIL implements CommandsInterface {
private final int RIL_INT_RADIO_UNAVALIABLE = 1;
private final int RIL_INT_RADIO_ON = 2;
- protected boolean mInitialRadioStateChange = true;
-
public QualcommNoSimReadyRIL(Context context, int networkMode, int cdmaSubscription) {
super(context, networkMode, cdmaSubscription);
}
@@ -641,19 +639,7 @@ public class QualcommNoSimReadyRIL extends RIL implements CommandsInterface {
throw new RuntimeException("Unrecognized RIL_RadioState: " + stateCode);
}
- if (mInitialRadioStateChange) {
- if (radioState.isOn()) {
- Log.d(LOG_TAG, "Radio ON @ init; reset to OFF");
- setRadioPower(false, null);
- }
- else {
- setRadioState (radioState);
- }
- mInitialRadioStateChange = false;
- }
- else {
- setRadioState (radioState);
- }
+ setRadioState (radioState);
}
class IccHandler extends Handler implements Runnable {
private static final int EVENT_RADIO_ON = 1;