Fix deeplink/search?query=xy intent (#6754)
This commit is contained in:
parent
4d627cc3af
commit
8af06a9f25
|
@ -608,7 +608,7 @@ public class MainActivity extends CastEnabledActivity {
|
|||
} else if (intent.getBooleanExtra(MainActivityStarter.EXTRA_OPEN_PLAYER, false)) {
|
||||
sheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
|
||||
bottomSheetCallback.onSlide(null, 1.0f);
|
||||
} else if (Intent.ACTION_VIEW.equals(intent.getAction())) {
|
||||
} else {
|
||||
handleDeeplink(intent.getData());
|
||||
}
|
||||
|
||||
|
|
|
@ -248,6 +248,7 @@ public class SearchFragment extends Fragment implements EpisodeItemListAdapter.O
|
|||
item.expandActionView();
|
||||
searchView = (SearchView) item.getActionView();
|
||||
searchView.setQueryHint(getString(R.string.search_label));
|
||||
searchView.setQuery(getArguments().getString(ARG_QUERY), true);
|
||||
searchView.requestFocus();
|
||||
searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue