MessageView shouldn't swallow keybindings

This commit is contained in:
Jesse Vincent 2009-05-05 01:56:41 +00:00
parent 651642faeb
commit 7dcd346e0f
1 changed files with 5 additions and 0 deletions

View File

@ -1205,6 +1205,11 @@ public class MessageView extends Activity
class MessageWebViewClient extends WebViewClient
{
public boolean shouldOverrideKeyEvent (WebView view, KeyEvent event) {
return true;
}
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl)
{
Log.e(Email.LOG_TAG, "WebView: url '"+failingUrl+"' error "+description);