CallOptionPopup::OnKeyReleased(Control& source, const KeyEventInfo& keyEventInfo)
{
AppLogDebug("Enter");
- Popup::SetShowState(false);
- __popupListener.OnItemSelected(IDA_BUTTON_CANCEL_OPTIONS_POPUP);
- return true;
+ if(keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
+ {
+ Popup::SetShowState(false);
+ __popupListener.OnItemSelected(IDA_BUTTON_CANCEL_OPTIONS_POPUP);
+ return true;
+
+ }
+ return false;
}