title: setOnEditorActionListener not working for Android Pie(9.0)
body: <p>I've tried a <strong>setOnEditorActionListener</strong> and it <strong>works for</strong> my Samsung <strong>(Android version 7.0)</strong> device. But it <strong>doesn't work for</strong> my Xiaomi AndroidOne <strong>(Android version 9.0)</strong> device. How can I fix this?</p>
  
  <p><strong>Java Code</strong></p>
  
  <pre><code>mSearchText.setOnEditorActionListener(new TextView.OnEditorActionListener() {
              @Override
              public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
                  if(actionId == EditorInfo.IME_ACTION_SEARCH
                          || actionId == EditorInfo.IME_ACTION_DONE
                          || event.getAction() == KeyEvent.ACTION_DOWN
                          || event.getAction() == KeyEvent.KEYCODE_ENTER){
  
                      //execute our method for searching
                      geoLocate();
  
                  }
                  return false;
              }
          });
  </code></pre>
  
  <p><strong>XML Code</strong></p>
  
  <pre><code>       &lt;EditText
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_toRightOf="@+id/ic_magnify"
              android:layout_centerVertical="true"
              android:textSize="15sp"
              android:textColor="#000"
              android:id="@+id/input_search"
              android:background="@null"
              android:hint="Enter Address, City or Zip Code"
              android:imeOptions="actionSearch"
              /&gt;
  </code></pre>