Merge "Fix bug #14302110 Settings crash on hitting back key from Wifi recent searches page"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a7e8b27a85
@@ -1230,7 +1230,7 @@ public class SettingsActivity extends Activity
|
||||
@Override
|
||||
public boolean onQueryTextChange(String newText) {
|
||||
mSearchQuery = newText;
|
||||
if (TextUtils.isEmpty(newText) && mSearchResultsFragment == null) {
|
||||
if (TextUtils.isEmpty(newText) || mSearchResultsFragment == null) {
|
||||
return false;
|
||||
}
|
||||
return mSearchResultsFragment.onQueryTextChange(newText);
|
||||
|
Reference in New Issue
Block a user