processing/processing-android — pull request #52 by joshgiesbrecht (2013-08-13 17:50:21+00:00)
Title: pulling out special-case checking for BACK key

and just handling it through onBackPressed() instead.

So a user who wants to avoid having the app end with the back button can just override onBackPressed() and do whatever they want to do instead.

Note: submitting an alternate pull request that repairs the originally documented usage of changing keyCode within onKeyPressed(). Probably want to accept one of these and reject the other.