Closed
Bug 1170886
Opened 9 years ago
Closed 9 years ago
Audit use of @SuppressLint annotation (and XML equivalent)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(4 files, 1 obsolete file)
We should do this before we start fixing all of the existing issues in (bug 1170884) because we'll be adding these same annotations.
Assignee | ||
Comment 1•9 years ago
|
||
We currently do not use tools:ignore in XML: https://mxr.mozilla.org/mozilla-central/search?string=tools%3Aignore&find=mobile%2Fandroid&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1170886 - Specify correct Locale in String.toUpperCase and remove @SuppressLint. r?nalexander
Attachment #8614487 -
Flags: review?(nalexander)
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1170886 - Replace use of NewApi suppression with @TargetApi. r?nalexander TargetApi is specific, and preferred.
Attachment #8614488 -
Flags: review?(nalexander)
Assignee | ||
Comment 4•9 years ago
|
||
Bug 1170886 - Remove unnecessary InlinedApi suppression. r?nalexander
Attachment #8614489 -
Flags: review?(nalexander)
Assignee | ||
Comment 5•9 years ago
|
||
Still TODO - two remaining suppressions in FXA: https://mxr.mozilla.org/mozilla-central/search?string=%40SuppressLint&find=mobile%2Fandroid&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Assignee | ||
Updated•9 years ago
|
Summary: Audit use of @SuppressLint annotation (and XML) equivalent → Audit use of @SuppressLint annotation (and XML equivalent)
Comment 6•9 years ago
|
||
Comment on attachment 8614487 [details] MozReview Request: Bug 1170886 - Specify correct Locale in String.toUpperCase and remove @SuppressLint. r?nalexander https://reviewboard.mozilla.org/r/9989/#review8841 This needs to happen in the android-sync repo, unfortunately.
Attachment #8614487 -
Flags: review?(nalexander)
Comment 7•9 years ago
|
||
Comment on attachment 8614488 [details] MozReview Request: Bug 1170886 - Replace use of NewApi suppression with @TargetApi. r?nalexander https://reviewboard.mozilla.org/r/9991/#review8845 I have never understood this annotation. @TargetApi was only added in 16. Does this cause problems? If not, roll on.
Attachment #8614488 -
Flags: review?(nalexander) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8614489 [details] MozReview Request: Bug 1170886 - Remove unnecessary InlinedApi suppression. r?nalexander https://reviewboard.mozilla.org/r/9993/#review8847 Technically we should upstream this; but I don't think we're *downstreaming* changes, so roll on.
Attachment #8614489 -
Flags: review?(nalexander) → review+
Assignee | ||
Comment 9•9 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #7) > I have never understood this annotation. @TargetApi was only added in 16. > Does this cause problems? If not, roll on. It was my understanding that this annotation is only used by the linter and not used at runtime, thus accessible for development on any version as long as you target a high enough platform level - I'll throw up a try push to make sure.
Comment hidden (typo) |
Assignee | ||
Comment 11•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3323917a06d3
Assignee | ||
Comment 12•9 years ago
|
||
Try looks good.
Assignee | ||
Updated•9 years ago
|
Attachment #8614487 -
Attachment is obsolete: true
Assignee | ||
Comment 13•9 years ago
|
||
Attachment #8615624 -
Flags: review?(nalexander)
Assignee | ||
Comment 14•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/dff7128718c4 https://hg.mozilla.org/integration/fx-team/rev/cc28adc3328d
Assignee | ||
Comment 15•9 years ago
|
||
There are a few other items from the android-sync repo in the mxr results but they appear to be fixed in the android-sync repo - I'm going to wager it's an issue with keeping the repos synced.
Whiteboard: [leave-open]
Updated•9 years ago
|
Attachment #8615624 -
Flags: review?(nalexander) → review+
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 16•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/51066bde3d7a
Assignee | ||
Updated•9 years ago
|
Whiteboard: [leave-open]
Comment 17•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dff7128718c4 https://hg.mozilla.org/mozilla-central/rev/cc28adc3328d https://hg.mozilla.org/mozilla-central/rev/51066bde3d7a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Comment 18•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dff7128718c4 https://hg.mozilla.org/mozilla-central/rev/cc28adc3328d https://hg.mozilla.org/mozilla-central/rev/51066bde3d7a
Assignee | ||
Comment 19•9 years ago
|
||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•