diff options
author | Ricardo Cerqueira <github@cerqueira.org> | 2012-03-17 00:02:26 +0000 |
---|---|---|
committer | Ricardo Cerqueira <github@cerqueira.org> | 2012-03-27 17:45:41 +0100 |
commit | b6b832b4ee57d489ccb4e6edcdae6071751aef6c (patch) | |
tree | 367187b859f5617320bfc7de356805643313c4e2 /telephony | |
parent | aa1b2d03e61f526a2c4dc5445823598646f4bc69 (diff) | |
download | frameworks_base-b6b832b4ee57d489ccb4e6edcdae6071751aef6c.zip frameworks_base-b6b832b4ee57d489ccb4e6edcdae6071751aef6c.tar.gz frameworks_base-b6b832b4ee57d489ccb4e6edcdae6071751aef6c.tar.bz2 |
QualcommNoSimReadyRIL: Drop the initialstatechange check
ICS doesn't have it anymore, and it actually breaks the P930's init
sequence
Change-Id: Ic9dfb5f2eddcda825a6d3fc5d380ebc4d56add90
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/QualcommNoSimReadyRIL.java | 16 |
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; |