@@ -98,11 +98,11 @@ public void onChange(boolean selfChange) {
9898
9999 // Recovery action taken in case of data stall
100100 class RecoveryAction {
101- public static final int GET_DATA_CALL_LIST = 0 ;
102- public static final int CLEANUP = 1 ;
103- public static final int REREGISTER = 2 ;
104- public static final int RADIO_RESTART = 3 ;
105- public static final int RADIO_RESET = 4 ;
101+ public static final int GET_DATA_CALL_LIST = 0 ;
102+ public static final int CLEANUP = 1 ;
103+ public static final int REREGISTER = 2 ;
104+ public static final int RADIO_RESTART = 3 ;
105+ public static final int RADIO_RESTART_WITH_PROP = 4 ;
106106 }
107107 public int getRecoveryAction () {
108108 int action = Settings .System .getInt (mPhone .getContext ().getContentResolver (),
@@ -1302,25 +1302,27 @@ private void doRecovery() {
13021302 putRecoveryAction (RecoveryAction .REREGISTER );
13031303 break ;
13041304 case RecoveryAction .REREGISTER :
1305- EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_REREGISTER , mSentSinceLastRecv );
1305+ EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_REREGISTER ,
1306+ mSentSinceLastRecv );
13061307 if (DBG ) log ("doRecovery() re-register" );
13071308 mPhone .getServiceStateTracker ().reRegisterNetwork (null );
13081309 putRecoveryAction (RecoveryAction .RADIO_RESTART );
13091310 break ;
13101311 case RecoveryAction .RADIO_RESTART :
1311- EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_RESTART , mSentSinceLastRecv );
1312+ EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_RADIO_RESTART ,
1313+ mSentSinceLastRecv );
13121314 if (DBG ) log ("restarting radio" );
1313- putRecoveryAction (RecoveryAction .RADIO_RESET );
1315+ putRecoveryAction (RecoveryAction .RADIO_RESTART_WITH_PROP );
13141316 restartRadio ();
13151317 break ;
1316- case RecoveryAction .RADIO_RESET :
1318+ case RecoveryAction .RADIO_RESTART_WITH_PROP :
13171319 // This is in case radio restart has not recovered the data.
13181320 // It will set an additional "gsm.radioreset" property to tell
13191321 // RIL or system to take further action.
13201322 // The implementation of hard reset recovery action is up to OEM product.
13211323 // Once gsm.radioreset property is consumed, it is expected to set back
13221324 // to false by RIL.
1323- EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_RESTART_WITH_PROP , -1 );
1325+ EventLog .writeEvent (EventLogTags .DATA_STALL_RECOVERY_RADIO_RESTART_WITH_PROP , -1 );
13241326 if (DBG ) log ("restarting radio with gsm.radioreset to true" );
13251327 SystemProperties .set ("gsm.radioreset" , "true" );
13261328 // give 1 sec so property change can be notified.
0 commit comments