crosswalk-project/crosswalk — pull request #1931 by yongsheng (2014-05-09 03:16:40+00:00)
Title: [Android] The app UI is locked if users cancel the JS alert dialog.

This is because the onClickListener of the cancel button is not handled.
As a result, the UI is blocked. Besides, onCancelListener can handle
back key so we don't have to override it.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1627

(Cherry picked from commit a9fddc6.)