I want to disable the Home, Menu and Back button in my custom AOSP rom. I´ve seached on the internet, and saw i can disable buttons after a succesfull build in the key layout files found in out/target/product/generic/system/usr/keylayout. The file i´m editing is: Generic.kl Now i´ve commented out these buttons:
- # key 139 MENU WAKE_DROPPED
- # key 158 BACK WAKE_DROPPED
- # key 172 HOME
Then i restarted the emulator, and the buttons still work... Is there something i am missing?
Thanks, Stefan