equal
deleted
inserted
replaced
443 HandleForegroundEventL(); |
443 HandleForegroundEventL(); |
444 |
444 |
445 // Activate control group in case the view was activated when |
445 // Activate control group in case the view was activated when |
446 // application was being sent to background, and the control group |
446 // application was being sent to background, and the control group |
447 // was left inactive. |
447 // was left inactive. |
448 const TInt KActivationDelay = 200; // ms |
448 if( iWasActiveControlGroup ) |
449 ActivateControlGroup( KActivationDelay ); |
449 { |
|
450 const TInt KActivationDelay = 200; // ms |
|
451 ActivateControlGroup( KActivationDelay ); |
|
452 } |
|
453 } |
|
454 else |
|
455 { |
|
456 iWasActiveControlGroup = ControlGroup().AcceptInput(); |
450 } |
457 } |
451 } |
458 } |
452 |
459 |
453 // --------------------------------------------------------------------------- |
460 // --------------------------------------------------------------------------- |
454 // |
461 // |