Closed Bug 1259170 Opened 8 years ago Closed 6 years ago

FeedService: Insert feed for websites in one step

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sebastian, Unassigned, Mentored)

References

Details

Currently we insert feeds for websites in two steps:

> if (!urlAnnotations.hasFeedUrlForWebsite(contentResolver, url)) {
>     urlAnnotations.insertFeedUrl(contentResolver, url, feedUrl);
> }

According to mcomella we might be able to do this with one query.

> I don't recall the details, but I'm pretty sure you can do this in one query (e.g. http://stackoverflow.com/a/21110662).
This code is gone.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.