equal
deleted
inserted
replaced
208 // |
208 // |
209 TBool CAOTimer::UnconnectTimerDisabled() const |
209 TBool CAOTimer::UnconnectTimerDisabled() const |
210 { |
210 { |
211 LOG_1( _L("CAOTimer::UnconnectTimerDisabled") ); |
211 LOG_1( _L("CAOTimer::UnconnectTimerDisabled") ); |
212 |
212 |
213 return iSettings.UnconnectTimerValue() == 0; |
213 if ( iSettings.IsCellularAllowedByUser() ) |
|
214 { |
|
215 return iSettings.UnconnectTimerValue() == 0; |
|
216 } |
|
217 else |
|
218 { |
|
219 // There should be no retries because user |
|
220 // does not allow cellular connections. |
|
221 return ETrue; |
|
222 } |
214 } |
223 } |
215 |
224 |
216 // --------------------------------------------------------------------------- |
225 // --------------------------------------------------------------------------- |
217 // CAOTimer::CAOTimer |
226 // CAOTimer::CAOTimer |
218 // --------------------------------------------------------------------------- |
227 // --------------------------------------------------------------------------- |