title: How to filter content resolver query results in android? Passing selection parameter still doesn't work
body: <p>I'm trying to filer out city names and return matching cities based on the selection parameter being passed.</p>
  
  <p>However the query call still returns all the rows.  Even tried putting in a fake city name that doesn't already exist in the database and it still spits out the same original rows.</p>
  
  <pre><code>public void addLocation(String cityName){
      Cursor cursor = mContext.getResolver().query(
              WeatherContract.LocationEntry.CONTENT_URI,
              null,
              WeatherContract.LocationEntry.COLUMN_LOCATION_SETTING + 
              " = " + cityName,
              null,
              null);
  </code></pre>
  
  <p>I've read the Android docs over and over, <a href="http://developer.android.com/reference/android/content/ContentResolver.html#update%28android.net.Uri,%20android.content.ContentValues,%20java.lang.String,%20java.lang.String[]%29" rel="nofollow">ContentResolver Query</a>, and passing the selection parameter in doesn't seem to be doing anything.</p>
  
  <pre><code>public final Cursor query (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
  </code></pre>