@@ -219,6 +219,15 @@ public View onCreateView(final LayoutInflater inflater, @Nullable final ViewGrou
219219 public void onViewCreated (@ NonNull final View rootView , final Bundle savedInstanceState ) {
220220 searchBinding = FragmentSearchBinding .bind (rootView );
221221 super .onViewCreated (rootView , savedInstanceState );
222+
223+ updateService ();
224+ // Add the service name to search string hint
225+ // to make it more obvious which platform is being searched.
226+ if (service != null ) {
227+ searchEditText .setHint (
228+ getString (R .string .search_with_service_name ,
229+ service .getServiceInfo ().getName ()));
230+ }
222231 showSearchOnStart ();
223232 initSearchListeners ();
224233 }
@@ -936,6 +945,20 @@ private void changeContentFilter(final MenuItem item, final List<String> theCont
936945 filterItemCheckedId = item .getItemId ();
937946 item .setChecked (true );
938947
948+ if (service != null ) {
949+ final boolean isNotFiltered = theContentFilter .isEmpty ()
950+ || "all" .equals (theContentFilter .get (0 ));
951+ if (isNotFiltered ) {
952+ searchEditText .setHint (
953+ getString (R .string .search_with_service_name ,
954+ service .getServiceInfo ().getName ()));
955+ } else {
956+ searchEditText .setHint (getString (R .string .search_with_service_name_and_filter ,
957+ service .getServiceInfo ().getName (),
958+ item .getTitle ()));
959+ }
960+ }
961+
939962 contentFilter = theContentFilter .toArray (new String [0 ]);
940963
941964 if (!TextUtils .isEmpty (searchString )) {
0 commit comments