Use android system backend for Awesome Bar data

VERIFIED FIXED

Status

()

Firefox for Android
General
P1
normal
VERIFIED FIXED
6 years ago
a year ago

People

(Reporter: elan, Assigned: blassey)

Tracking

({feature})

unspecified
ARM
Android
feature
Points:
---

Firefox Tracking Flags

(firefox11 fixed, fennec11+)

Details

(Whiteboard: [birch] [Product Approved])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
* does the native scheme have a way to do Frequency
(Assignee)

Updated

6 years ago
Priority: -- → P1
Summary: AwesomeBar → Use android system backend for Awesome Bar data
(Reporter)

Updated

6 years ago
OS: Mac OS X → Android
Hardware: x86 → ARM
Whiteboard: [birch]
Created attachment 568097 [details] [diff] [review]
patch
Attachment #568097 - Flags: review?(doug.turner)

Comment 2

6 years ago
Comment on attachment 568097 [details] [diff] [review]
patch

Review of attachment 568097 [details] [diff] [review]:
-----------------------------------------------------------------

awesome

::: embedding/android/AwesomeBar.java
@@ +165,5 @@
>              public Cursor runQuery(CharSequence constraint) {
> +                mCursor = activity.managedQuery(Browser.BOOKMARKS_URI,
> +                                       null, Browser.BookmarkColumns.URL + " LIKE ? OR title LIKE ?", 
> +                                       new String[] {"%" + constraint.toString() + "%", "%" + constraint.toString() + "%",},
> +                                       Browser.BookmarkColumns.VISITS + " * 10 * MAX(1, (" + Browser.BookmarkColumns.DATE + " - " + new Date().getTime() + ") / 86400000 + 120) DESC");

please comment on what you are attempting here.
Attachment #568097 - Flags: review?(doug.turner) → review+
pushed https://hg.mozilla.org/projects/birch/rev/208cba10065b
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Updated

6 years ago
Whiteboard: [birch] → [birch] [Product Approved]
Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111021 Firefox/10.0a1 Fennec/10.0a1 (birch)
Samsung Galaxy SII (Android 2.3.4)
Status: RESOLVED → VERIFIED
(Assignee)

Updated

6 years ago
tracking-fennec: --- → 11+
(Assignee)

Updated

6 years ago
status-firefox11: --- → fixed
(Reporter)

Updated

6 years ago
Keywords: feature
You need to log in before you can comment on or make changes to this bug.