Bug 1234315 - Add reader view to UrlAnnotations r=sebastian
MozReview-Commit-ID: FkErHQxavkV
--- a/mobile/android/base/java/org/mozilla/gecko/db/BrowserContract.java
+++ b/mobile/android/base/java/org/mozilla/gecko/db/BrowserContract.java
@@ -528,17 +528,25 @@ public class BrowserContract {
FEED("feed"),
/**
* This key maps URLs of feeds to an object describing the feed.
*
* Key: feed_subscription
* Value: JSON object describing feed
*/
- FEED_SUBSCRIPTION("feed_subscription");
+ FEED_SUBSCRIPTION("feed_subscription"),
+
+ /**
+ * Indicates that this URL (if stored as a bookmark) should be opened into reader view.
+ *
+ * Key: reader_view
+ * Value: String "true" to indicate that we would like to open into reader view.
+ */
+ READER_VIEW("reader_view");
private final String dbValue;
Key(final String dbValue) { this.dbValue = dbValue; }
public String getDbValue() { return dbValue; }
}
public enum SyncStatus {