TopSitesCursorWrapper does not override abstract method setExtras(Bundle) in Cursor

RESOLVED FIXED in Firefox 43

Status

()

Firefox for Android
General
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: sebastian, Assigned: sebastian)

Tracking

(Blocks: 1 bug)

42 Branch
Firefox 43
All
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox42 affected, firefox43 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
TopSitesCursorWrapper implements the Cursor interface and Android M added a new method: setExtras(Bundle).

From the preview SDK docs: "Sets a Bundle that will be returned by getExtras()."
(Assignee)

Updated

2 years ago
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
(Assignee)

Comment 1

2 years ago
Created attachment 8642441 [details] [diff] [review]
1183068-cursor-interface.patch
Attachment #8642441 - Flags: review?(mhaigh)
Comment on attachment 8642441 [details] [diff] [review]
1183068-cursor-interface.patch

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

::: mobile/android/base/db/TopSitesCursorWrapper.java
@@ +485,5 @@
>      public Bundle getExtras() {
>          throw new UnsupportedOperationException();
>      }
>  
> +    // @Override - Method has been introduced in Android M. Add @Override annotation as soon as we are building with the M SDK

Can we add a bug and add that bug number to this TODO?
Attachment #8642441 - Flags: review?(mhaigh) → review+
(Assignee)

Comment 3

2 years ago
(In reply to Martyn Haigh (:mhaigh) from comment #2)
> Can we add a bug and add that bug number to this TODO?

Sure! :) I wanted to avoid creating the bug before landing this.
(Assignee)

Updated

2 years ago
See Also: → bug 1193205
(Assignee)

Comment 4

2 years ago
url:        https://hg.mozilla.org/integration/fx-team/rev/076372b0b6808dfff4fa1a544c465cbd39d5e56a
changeset:  076372b0b6808dfff4fa1a544c465cbd39d5e56a
user:       Sebastian Kaspari <s.kaspari@gmail.com>
date:       Tue Aug 11 11:54:38 2015 +0200
description:
Bug 1183068 - TopSitesCursorWrapper: Add new interface method setExtras(Bundle). r=mhaigh
https://hg.mozilla.org/mozilla-central/rev/076372b0b680
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox43: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
You need to log in before you can comment on or make changes to this bug.