Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
005dbd8d86
1 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ import android.support.v4.content.ContextCompat;
|
||||||
import android.support.v7.view.ContextThemeWrapper;
|
import android.support.v7.view.ContextThemeWrapper;
|
||||||
import android.support.v7.widget.SearchView;
|
import android.support.v7.widget.SearchView;
|
||||||
import android.support.v7.widget.Toolbar;
|
import android.support.v7.widget.Toolbar;
|
||||||
import android.util.Log;
|
|
||||||
import android.util.TypedValue;
|
import android.util.TypedValue;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -532,7 +531,7 @@ public class SearchDialogFragment extends DialogFragment implements DownloadEven
|
||||||
results.count = 0;
|
results.count = 0;
|
||||||
} else {
|
} else {
|
||||||
List<Object> filter = new ArrayList<>();
|
List<Object> filter = new ArrayList<>();
|
||||||
if (constraint.length() > 3) {
|
if (constraint.length() > 2) {
|
||||||
try {
|
try {
|
||||||
filter.addAll(searchCities(getMyApplication(), constraint.toString()));
|
filter.addAll(searchCities(getMyApplication(), constraint.toString()));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Reference in a new issue