diff --git a/app/src/main/java/com/chris/randomrestaurantgenerator/fragments/MainActivityFragment.java b/app/src/main/java/com/chris/randomrestaurantgenerator/fragments/MainActivityFragment.java index 8315568..5c2a888 100644 --- a/app/src/main/java/com/chris/randomrestaurantgenerator/fragments/MainActivityFragment.java +++ b/app/src/main/java/com/chris/randomrestaurantgenerator/fragments/MainActivityFragment.java @@ -304,7 +304,6 @@ else if (searchQuery.compareTo(searchLocationBox.getQuery()) != 0 || if (multiFilters.containsAll(filterList) && restaurants.isEmpty()) multiFilters.clear(); - Log.d("RRG", "contains all: " + multiFilters.containsAll(filterList)); if (filterBoxText.contains(",") && !multiFilters.containsAll(filterList)) { multiFilters.clear(); multiFilters.addAll(filterList); @@ -356,14 +355,6 @@ else if (searchQuery.compareTo(searchLocationBox.getQuery()) != 0 || displayAlertDialog(R.string.string_enter_valid_location, "Error"); } else { - Log.d("RRG", "contains all: " + multiFilters.containsAll(filterList)); - for (String a : multiFilters) { - Log.d("RRG", "MultiFilters: " + a); - } - for (String a : filterList) { - Log.d("RRG", "filterList: " + a); - } - /** * Split the filters by comma if the user wants multiple filters. * Run separate query for each filter. @@ -851,10 +842,8 @@ protected Restaurant doInBackground(Void... aVoid) { // Get restaurants only when the restaurants list is empty. Restaurant chosenRestaurant = null; - Log.d("RRG", "SIZE: " + restaurants.size()); if (restaurants == null || restaurants.isEmpty()) { successfulQuery = queryYelp(lat, lon, userInputStr, userFilterStr, 0); - Log.d("RRG", "Queried yelp: " + successfulQuery); if (successfulQuery) { @@ -877,8 +866,6 @@ protected Restaurant doInBackground(Void... aVoid) { restaurants.remove(chosenRestaurant); } - Log.d("RRG", "run background " + runBackgroundQueryAfter); - // Return randomly chosen restaurant. return chosenRestaurant; } @@ -887,8 +874,6 @@ protected Restaurant doInBackground(Void... aVoid) { @Override protected void onPostExecute(Restaurant restaurant) { - Log.d("RRG", "ERROR: " + errorInQuery); - if (restaurant == null) { if (errorInQuery == TypeOfError.NO_RESTAURANTS) { Toast.makeText(getContext(),