diff -r eea20ed08f4b -r 50b444048a8d mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp --- a/mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp Tue Jun 29 10:40:11 2010 +0300 +++ b/mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp Fri Jul 16 10:30:52 2010 +0300 @@ -360,7 +360,7 @@ // Check for keypadlock if the events are from device keypad // If events are from accessory device,then do not check for keypadlock - if (aKeyType != EAccessoryVolumeKeys) + if (aKeyType != EAccessoryVolumeKeys && aKeyType != ESideVolumeKeys ) { TInt err=iKeyguardAccess->ShowKeysLockedNote(); @@ -370,10 +370,7 @@ // Device is locked , Discard the key event //Start the listener once again - if (aKeyType == ESideVolumeKeys) - { - iMMKeyBearerObserver->Start(); - } + if (aKeyType == EMediaKeys) { iMediaKeyObserver->Start();