equal
deleted
inserted
replaced
24 #include <CPbk2IconArray.h> |
24 #include <CPbk2IconArray.h> |
25 #include <CPbk2PresentationContactFieldCollection.h> |
25 #include <CPbk2PresentationContactFieldCollection.h> |
26 #include <CPbk2StorePropertyArray.h> |
26 #include <CPbk2StorePropertyArray.h> |
27 #include <CPbk2UIExtensionManager.h> |
27 #include <CPbk2UIExtensionManager.h> |
28 #include <MPbk2UIExtensionIconSupport.h> |
28 #include <MPbk2UIExtensionIconSupport.h> |
29 #include <pbk2uicontrols.rsg> |
29 #include <Pbk2UIControls.rsg> |
30 #include <CPbk2PresenceIconInfo.h> |
30 #include <CPbk2PresenceIconInfo.h> |
31 #include "CPbk2FieldAnalyzer.h" |
31 #include "CPbk2FieldAnalyzer.h" |
32 #include <CPbk2ApplicationServices.h> |
32 #include <CPbk2ApplicationServices.h> |
33 |
33 |
34 // Virtual Phonebook |
34 // Virtual Phonebook |
336 TKeyResponse CPbk2SelectFieldDlg::CPopupList::OfferKeyEventL |
336 TKeyResponse CPbk2SelectFieldDlg::CPopupList::OfferKeyEventL |
337 (const TKeyEvent& aKeyEvent, TEventCode aType) |
337 (const TKeyEvent& aKeyEvent, TEventCode aType) |
338 { |
338 { |
339 if ( aKeyEvent.iCode == EKeyEscape ) |
339 if ( aKeyEvent.iCode == EKeyEscape ) |
340 { |
340 { |
341 // When the popup list is prompting for selection, if the user closes Phonebook application from FSW, |
341 // when popup is pending for selection, contact is closed from FSW |
342 // the dialog is to be closed otherwise re-enter Phonebook would result in wrong UI behavior. |
342 // after application key is long pressed, dialog has to be closed |
343 AttemptExitL( EFalse); |
343 AttemptExitL( EFalse ); |
344 } |
344 } |
345 else |
345 else |
346 { |
346 { |
347 // The focus can display after clicking on navigation key and MSK key. |
347 // The focus can display after clicking on navigation key and MSK key. |
348 // Then, both LSK and RSK should be visible. |
348 // Then, both LSK and RSK should be visible. |