Bug 1274029 - Pre 2: Correct old comments about combined view r=grisha draft
authorGrigory Kruglov <gkruglov@mozilla.com>
Wed, 01 Jun 2016 12:25:36 -0700
changeset 374079 cbec7e804cbbebc33734ccbc555b63b8f74ffa99
parent 374066 962dcde70d60982b60d43af0ad60040929b341c3
child 374080 c063974cf05550859bd904180ac863c3bbc4f97b
push id19919
push usergkruglov@mozilla.com
push dateWed, 01 Jun 2016 19:30:11 +0000
reviewersgrisha
bugs1274029
milestone49.0a1
Bug 1274029 - Pre 2: Correct old comments about combined view r=grisha MozReview-Commit-ID: IiePFWmkPKZ
mobile/android/base/java/org/mozilla/gecko/db/BrowserDatabaseHelper.java
--- a/mobile/android/base/java/org/mozilla/gecko/db/BrowserDatabaseHelper.java
+++ b/mobile/android/base/java/org/mozilla/gecko/db/BrowserDatabaseHelper.java
@@ -295,17 +295,16 @@ public final class BrowserDatabaseHelper
         The rows in the ensuing view are, in order:
 
             Combined.BOOKMARK_ID
             Combined.HISTORY_ID
             Combined._ID (always 0)
             Combined.URL
             Combined.TITLE
             Combined.VISITS
-            Combined.DISPLAY
             Combined.DATE_LAST_VISITED
             Combined.FAVICON_ID
 
         We need to return an _id column because CursorAdapter requires it for its
         default implementation for the getItemId() method. However, since
         we're not using this feature in the parts of the UI using this view,
         we can just use 0 for all rows.
          */
@@ -399,17 +398,16 @@ public final class BrowserDatabaseHelper
 
         The rows in the ensuing view are, in order:
             Combined.BOOKMARK_ID
             Combined.HISTORY_ID
             Combined._ID (always 0)
             Combined.URL
             Combined.TITLE
             Combined.VISITS
-            Combined.DISPLAY
             Combined.DATE_LAST_VISITED
             Combined.FAVICON_ID
             Combined.LOCAL_DATE_LAST_VISITED
             Combined.REMOTE_DATE_LAST_VISITED
             Combined.LOCAL_VISITS_COUNT
             Combined.REMOTE_VISITS_COUNT
          */
         db.execSQL("CREATE VIEW IF NOT EXISTS " + VIEW_COMBINED + " AS" +