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