title: Google Places API PlaceFilter
body: <p>I am using Google Places API for Android and am trying to limit the results to only show Restaurants.  I have included a PlaceFilter and seems to be correct but doesn't seem to be applying the filter and giving other results aside from Restaurants.  See code:</p>
  
  <pre><code>ArrayList&lt;String&gt; restrictToRestaurants = new ArrayList&lt;&gt;();
                  restrictToRestaurants.add(Integer.toString(Place.TYPE_RESTAURANT));
                  PlaceFilter pf;
                  pf = new PlaceFilter(false, restrictToRestaurants);
  
                  PendingResult&lt;PlaceLikelihoodBuffer&gt; result = Places.PlaceDetectionApi.getCurrentPlace(mGoogleApiClient, pf);
                  result.setResultCallback(new ResultCallback&lt;PlaceLikelihoodBuffer&gt;() {
                      @Override
                      public void onResult(PlaceLikelihoodBuffer likelyPlaces) {
                          for (PlaceLikelihood placeLikelihood : likelyPlaces) {
  
                              placeLikelihood.getPlace().getPlaceTypes();
  
                              Log.i(TAG, String.format("Place '%s' with " + "likelihood: %g", placeLikelihood.getPlace().getName(), placeLikelihood.getLikelihood()));
                          }
                          likelyPlaces.release();
                      }
                  });
  </code></pre>
  
  <p>Anyone have any ideas how to apply the PlaceFilter?</p>