I don't recall off-hand where exactly in the keyguard code this is done; you should be able to search through the code for references to the menu key. That said, if it isn't unlocking, it most likely isn't receiving a menu key, and the problem is elsewhere. You can also look in KeyInputQueue for the low-level event processing code to see what is going through there.
On Tue, Aug 4, 2009 at 8:16 AM, Harishkumar V <[email protected]>wrote: > Dianne, > > i have mapped the menu key, but still the problem persists. > > i have little doubt, > > 1)which portion of the keyguard causes this unlock screen and why? > > > Thanks and Regards, > HarishKumar.V > > On Thu, Jul 30, 2009 at 10:08 PM, Dianne Hackborn <[email protected]>wrote: > >> You need to have a key map file that describes which key generates the >> menu key code, so you can press it to unlock. Or modify the keyguard (the >> phone policy in frameworks/policies/base) to do something more appropriate >> for your hardware. >> >> >> On Thu, Jul 30, 2009 at 3:03 AM, Harishkumar V >> <[email protected]>wrote: >> >>> Hi, >>> >>> I am porting android to OMAP 3430 based custom board which is running >>> linux-2.6.28-omap-rc9 kernel. >>> I am using embinux android file system. >>> >>> When i boot android, the logo screen comes and then desktop appears. >>> >>> In the desktop screen, it is showing, "Screen locked, press MENU to >>> unlock" >>> >>> When i press "Windows Right Meta key" for unlocking, it throws this >>> message on logcat, how to unlock and go to main window containing apps. >>> >>> logcat messages, >>> >>> D/KeyguardViewMediator( 850): wakeWhenReadyLocked(82) >>> D/KeyguardViewMediator( 850): handleWakeWhenReady(82) >>> D/KeyguardViewMediator( 850): pokeWakelock(5000) >>> D/KeyguardViewMediator( 850): wakeWhenReadyLocked(84) >>> D/KeyguardViewMediator( 850): handleWakeWhenReady(84) >>> D/KeyguardViewMediator( 850): pokeWakelock(5000) >>> D/KeyguardViewMediator( 850): wakeWhenReadyLocked(82) >>> D/KeyguardViewMediator( 850): handleWakeWhenReady(82) >>> D/KeyguardViewMediator( 850): pokeWakelock(5000) >>> >>> any pointers to fix this would be helpful. >>> >>> Thanks and Regards, >>> HarishKumar.V >>> >>> >>> >>> >>> >> >> >> -- >> Dianne Hackborn >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time to >> provide private support, and so won't reply to such e-mails. All such >> questions should be posted on public forums, where I and others can see and >> answer them. >> >> >> >> > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
