Closed Bug 695457 Opened 13 years ago Closed 13 years ago

Use android system backend for Awesome Bar data

Categories

(Firefox for Android Graveyard :: General, defect, P1)

ARM
Android
defect

Tracking

(firefox11 fixed, fennec11+)

VERIFIED FIXED
Tracking Status
firefox11 --- fixed
fennec 11+ ---

People

(Reporter: elan, Assigned: blassey)

Details

(Keywords: feature, Whiteboard: [birch] [Product Approved])

Attachments

(1 file)

* does the native scheme have a way to do Frequency
Priority: -- → P1
Summary: AwesomeBar → Use android system backend for Awesome Bar data
OS: Mac OS X → Android
Hardware: x86 → ARM
Whiteboard: [birch]
Attached patch patchSplinter Review
Attachment #568097 - Flags: review?(doug.turner)
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
Closed: 13 years ago
Resolution: --- → FIXED
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
tracking-fennec: --- → 11+
Keywords: feature
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: