Merge "Fix bug #14323469 Settings crash on selecting keyword from recent searches ... after changing orientation"
This commit is contained in:
committed by
Android (Google) Code Review
commit
eab58139f4
@@ -410,6 +410,10 @@ public class SettingsActivity extends Activity
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mSearchResultsFragment != null) {
|
||||
mSearchResultsFragment.setSearchView(mSearchView);
|
||||
}
|
||||
|
||||
mSearchMenuItem.setOnActionExpandListener(this);
|
||||
mSearchView.setOnQueryTextListener(this);
|
||||
mSearchView.setOnCloseListener(this);
|
||||
|
Reference in New Issue
Block a user