Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8ea5ec7 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am 838b0856: am df08adae: docs: add "Google Services" search tab

* commit '838b0856':
  docs: add "Google Services" search tab
parents a5d5c010 838b0856
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1721,6 +1721,10 @@ function loadSearchResults() {
  referenceSearcher.setUserDefinedLabel("Reference");
  referenceSearcher.setSiteRestriction("http://developer.android.com/reference/");

  googleSearcher = new google.search.WebSearch();
  googleSearcher.setUserDefinedLabel("Google Services");
  googleSearcher.setSiteRestriction("http://developer.android.com/google/");

  blogSearcher = new google.search.WebSearch();
  blogSearcher.setUserDefinedLabel("Blog");
  blogSearcher.setSiteRestriction("http://android-developers.blogspot.com");
@@ -1731,6 +1735,7 @@ function loadSearchResults() {
  searchControl.addSearcher(trainingSearcher, searchOptions);
  searchControl.addSearcher(guidesSearcher, searchOptions);
  searchControl.addSearcher(referenceSearcher, searchOptions);
  searchControl.addSearcher(googleSearcher, searchOptions);
  searchControl.addSearcher(blogSearcher, searchOptions);

  // configure result options