I'm sending my application to background and to foreground after some time.
Of course when keypad is locked it won't work, so before puting application to foreground I use code:
Where m_bLockKeyPad is variable telling me if keypad was locked.
RAknKeyLock keyLock ;
m_bLockKeyPad = TRUE;
It worked fine with 2nd edition devices, but it keeps only crashing my application for 3rd edition.