Android Tablets Forum banner
1 - 1 of 1 Posts

·
Registered
Joined
·
954 Posts
Since it's been a rather quite couple of days, here are some ideas for fixing those weird screen unlock 'issues' 1)[HOWTO] Assign another button to show unlock screen - xda-developersWe can remap keys by changing the files in system/usr/keylayout/See: [GUIDE] How to Remap Hardkey(button) Actions - xda-developers"You'll have to put the string 'WAKE_DROPPED' behind the button you wish to use to unlock. It has been set on POWER and ENDCALL by default."2)It looks like the function interceptKeyTq in the framework-res.apk handles lock events, from phone/com/android/internal/policy/impl/PhoneWindowManager.javaThis function intercepts a bunch of keys. Not sure how much can be changed using just a decompiler though. Might be worth looking into devs? But maybe we can get a software menu key functionReference: Commit 7504617a9211a65ce767281c59668e8641b8a14d to metalhead8816's android_frameworks_policies_base - GitHub
 
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top