File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
telephony/java/com/android/internal/telephony/cdma Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {
3939 CDMALTEPhone mCdmaLtePhone ;
4040
4141 private ServiceState mLteSS ; // The last LTE state from Voice Registration
42+ private boolean mNeedToRegForSimLoaded = true ;
4243
4344 public CdmaLteServiceStateTracker (CDMALTEPhone phone ) {
4445 super (phone );
@@ -71,7 +72,10 @@ public void handleMessage(Message msg) {
7172 isSubscriptionFromRuim = false ;
7273 // Register SIM_RECORDS_LOADED dynamically.
7374 // This is to avoid confilct with RUIM_READY scenario)
74- phone .mIccRecords .registerForRecordsLoaded (this , EVENT_SIM_RECORDS_LOADED , null );
75+ if (mNeedToRegForSimLoaded ) {
76+ phone .mIccRecords .registerForRecordsLoaded (this , EVENT_SIM_RECORDS_LOADED , null );
77+ mNeedToRegForSimLoaded = false ;
78+ }
7579 pollState ();
7680 // Signal strength polling stops when radio is off.
7781 queueNextSignalStrengthPoll ();
You can’t perform that action at this time.
0 commit comments