Bug 915355 - Part 3: Update default search engine comment to be more descriptive. r=rnewman
authorMichael Comella <michael.l.comella@gmail.com>
Fri, 27 Sep 2013 09:38:25 -0700
changeset 149085 06c93b10958f1d6515f5d9197f98a987db4e7388
parent 149084 50a9cd1bc956f19ae011df072f57bcc93bd7f6f5
child 149086 5a520e97e6a53e28652aa8cef212edcd339490da
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersrnewman
bugs915355
milestone27.0a1
Bug 915355 - Part 3: Update default search engine comment to be more descriptive. r=rnewman
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -1439,17 +1439,18 @@ abstract public class BrowserApp extends
                     keywordSearch = "";
                 } else {
                     keyword = url.substring(0, index);
                     keywordSearch = url.substring(index + 1);
                 }
 
                 final String keywordUrl = BrowserDB.getUrlForKeyword(getContentResolver(), keyword);
 
-                // If there isn't a bookmark keyword, just load the URL.
+                // If there isn't a bookmark keyword, load the url. This may result in a query
+                // using the default search engine.
                 if (TextUtils.isEmpty(keywordUrl)) {
                     Tabs.getInstance().loadUrl(url, Tabs.LOADURL_USER_ENTERED);
                     return;
                 }
 
                 recordSearch(null, "barkeyword");
 
                 // Otherwise, construct a search query from the bookmark keyword.