equal
deleted
inserted
replaced
189 new( ELeave ) CAknInformationNote( ETrue ); |
189 new( ELeave ) CAknInformationNote( ETrue ); |
190 note->ExecuteLD( *infoText ); |
190 note->ExecuteLD( *infoText ); |
191 CleanupStack::PopAndDestroy( infoText ); |
191 CleanupStack::PopAndDestroy( infoText ); |
192 return; |
192 return; |
193 } |
193 } |
194 else if( !DisplayConfirmationQueryL( |
|
195 R_PROFILE_LEAVE_OFFLINE_CONFIRMATION_QUERY ) ) |
|
196 { |
|
197 // SIM card exists. |
|
198 // User replied that he/she doesn't want to activate RF. |
|
199 // Exit from method, do not activate the focused profile. |
|
200 return; |
|
201 } |
|
202 } |
194 } |
203 iEngineHandler.Engine()->SetActiveProfileL( currentProfileId ); |
195 iEngineHandler.Engine()->SetActiveProfileL( currentProfileId ); |
204 } |
196 } |
205 |
197 |
206 // ----------------------------------------------------------------------------- |
198 // ----------------------------------------------------------------------------- |
449 HBufC* infoText = StringLoader::LoadLC( R_PROFILE_TEXT_INSERT_SIM ); |
441 HBufC* infoText = StringLoader::LoadLC( R_PROFILE_TEXT_INSERT_SIM ); |
450 CAknInformationNote* note = |
442 CAknInformationNote* note = |
451 new( ELeave ) CAknInformationNote( ETrue ); |
443 new( ELeave ) CAknInformationNote( ETrue ); |
452 note->ExecuteLD( *infoText ); |
444 note->ExecuteLD( *infoText ); |
453 CleanupStack::PopAndDestroy( infoText ); |
445 CleanupStack::PopAndDestroy( infoText ); |
454 return; |
|
455 } |
|
456 else if( !DisplayConfirmationQueryL( |
|
457 R_PROFILE_LEAVE_OFFLINE_CONFIRMATION_QUERY ) ) |
|
458 { |
|
459 // SIM card exists. |
|
460 // User replied that he/she doesn't want to activate RF. |
|
461 // Exit from method, do not activate the focused profile. |
|
462 return; |
446 return; |
463 } |
447 } |
464 } |
448 } |
465 |
449 |
466 TTime expireTime; |
450 TTime expireTime; |