title: null keyevent and actionid = 0 in onEditorAction() (Jelly Bean / Nexus 7)
body: <p>I have an edit text which functions as a search box in my application. In Jelly Bean on my Nexus 7 when I type something into the text box which I am listening on and hit enter the KeyEvent = null and ActionId = 0 passed into the onEditorAction() method. Has anyone else encountered this? I'm thinking it might be a bug.</p>
  
  <p>In the second if statement below I get a null pointer because the actionId = 0 and KeyEvent = null;</p>
  
  <pre><code>// Search field logic.
  @Override
  public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
      Log.d(TAG, "onEditorAction");
      if (event != null &amp;&amp; event.getAction() != KeyEvent.ACTION_DOWN)
          return false;
      if (actionId == EditorInfo.IME_ACTION_SEARCH
              || event.getKeyCode() == KeyEvent.KEYCODE_ENTER) {
                .....Do some stuff();
       }
  }
  </code></pre>