connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/EasyWepDlgNotif.cpp
equal
deleted
inserted
replaced
47 // |
47 // |
48 void CEasyWepDlgNotif::StartL( const TDesC8& /*aBuffer*/, |
48 void CEasyWepDlgNotif::StartL( const TDesC8& /*aBuffer*/, |
49 TInt aReplySlot, |
49 TInt aReplySlot, |
50 const RMessagePtr2& aMessage ) |
50 const RMessagePtr2& aMessage ) |
51 { |
51 { |
|
52 if ( ScreenSaverOn() || AutolockOn() ) |
|
53 { |
|
54 // Screen saver or Autolock is active. Cancel the dialog. |
|
55 aMessage.Complete( KErrCancel ); |
|
56 return; |
|
57 } |
|
58 |
52 iReplySlot = aReplySlot; |
59 iReplySlot = aReplySlot; |
53 iMessage = aMessage; |
60 iMessage = aMessage; |
54 iCancelled = EFalse; |
61 iCancelled = EFalse; |
55 |
62 |
56 aMessage.ReadL( aReplySlot, iKey ); |
63 aMessage.ReadL( aReplySlot, iKey ); |