Closed
Bug 1170884
Opened 10 years ago
Closed 10 years ago
Fix warnings in android lint output of base sub-project
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(2 files, 6 obsolete files)
One at a time...
| Assignee | ||
Comment 1•10 years ago
|
||
Bug 1170884 - Call super from sub-class. r?nalexander
Attachment #8614471 -
Flags: review?(nalexander)
| Assignee | ||
Comment 2•10 years ago
|
||
Bug 1170884 - Use fully qualified android.R.*. r?nalexander
Attachment #8614472 -
Flags: review?(nalexander)
Comment 3•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review8837
Ship It!
Attachment #8614471 -
Flags: review?(nalexander) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8614472 [details]
MozReview Request: Bug 1170884 - Use fully qualified android.R.*. r?nalexander
https://reviewboard.mozilla.org/r/9983/#review8839
Ship It!
Attachment #8614472 -
Flags: review?(nalexander) → review+
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [leave-open]
| Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Call super from sub-class. r?nalexander → MozReview Request: Bug 1170884 - Replace android:password w/ android:inputType. r?liuche
Attachment #8614471 -
Flags: review+ → review?(liuche)
| Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Replace android:password w/ android:inputType. r?liuche
android:password is deprecated.
| Assignee | ||
Updated•10 years ago
|
Attachment #8614472 -
Attachment is obsolete: true
Comment 8•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review9319
Ship It!
Attachment #8614471 -
Flags: review?(liuche) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
| Assignee | ||
Comment 10•10 years ago
|
||
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Replace android:password w/ android:inputType. r?liuche → MozReview Request: Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella
Attachment #8614471 -
Flags: review+ → review?(markcapella)
Comment 12•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
wfm :)
Attachment #8614471 -
Flags: review?(markcapella) → review+
| Assignee | ||
Comment 14•10 years ago
|
||
| Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8621230 -
Flags: review?(nalexander)
| Assignee | ||
Updated•10 years ago
|
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Call TypedArray.recycle after use in TextSelectionHandle. r?capella → MozReview Request: Bug 1170884 - Replace "new Integer" with "Integer.valueOf". r?nalexander
Attachment #8614471 -
Flags: review+ → review?(nalexander)
| Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Replace "new Integer" with "Integer.valueOf". r?nalexander
| Assignee | ||
Updated•10 years ago
|
Attachment #8620371 -
Attachment is obsolete: true
Comment 18•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review9615
Ship It!
Attachment #8614471 -
Flags: review?(nalexander) → review+
| Assignee | ||
Comment 19•10 years ago
|
||
| Assignee | ||
Comment 20•10 years ago
|
||
Comment on attachment 8621230 [details] [review]
valueOf instead of new
via gh.
Attachment #8621230 -
Flags: review?(nalexander) → review+
| Assignee | ||
Updated•10 years ago
|
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Replace "new Integer" with "Integer.valueOf". r?nalexander → MozReview Request: Bug 1170884 - Remove obsolete layout params. r=mhaigh
Attachment #8614471 -
Flags: review+ → review?(mhaigh)
| Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Remove obsolete layout params. r=mhaigh
Via the ObsoleteLayoutParam android Lint warning. Fixed automagically by
Android Studio.
Comment 22•10 years ago
|
||
| Assignee | ||
Comment 23•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Remove obsolete layout params. r=mhaigh
Via the ObsoleteLayoutParam android Lint warning. Fixed automagically by
Android Studio.
| Assignee | ||
Comment 24•10 years ago
|
||
Bug 1170884 - Add explicit orientation to LinearLayouts. r=mhaigh
android-lint recommends this as part of it's "Orientation" rule.
Attachment #8623441 -
Flags: review?(mhaigh)
| Assignee | ||
Comment 25•10 years ago
|
||
Bug 1170884 - Remove unnecessary namespace attribute. r=mhaigh
Part of android lint's "MissingPrefix" rule.
Attachment #8623456 -
Flags: review?(mhaigh)
| Assignee | ||
Comment 26•10 years ago
|
||
Bug 1170884 - Add title to menu item. r=mhaigh
Part of android lint's "MenuTitle" warning.
This is a stub (according to the comments) so we don't actually need a title. I
was going to suppress the lint output but since the title is the empty string
on v11+ where this value is used, I figured an empty string title should
suffice.
Attachment #8623457 -
Flags: review?(mhaigh)
| Assignee | ||
Comment 27•10 years ago
|
||
Bug 1170884 - Use 0dp for layout_w/h for perf reasons. r=mhaigh
This falls under the InefficientWeight rule.
Changes completed via Android Studio quick-fix.
Attachment #8623458 -
Flags: review?(mhaigh)
Comment 28•10 years ago
|
||
https://reviewboard.mozilla.org/r/9979/#review9981
Looks good to me. Would like to simplify that LinearLayout to something simplier, maybe file it as a separate bug?
Updated•10 years ago
|
Attachment #8623441 -
Flags: review?(mhaigh)
Comment 29•10 years ago
|
||
Comment on attachment 8623441 [details]
MozReview Request: Bug 1170884 - Add explicit orientation to LinearLayouts. r=mhaigh
https://reviewboard.mozilla.org/r/11547/#review9977
::: mobile/android/base/resources/layout/gecko_app.xml:67
(Diff revision 1)
> + android:orientation="horizontal" />
This seems superfluous to me. Looking at the code this view is only ever animated - it never has content added. Perhaps we can make it in to a simplier ViewGroup?
Comment 30•10 years ago
|
||
Comment on attachment 8623441 [details]
MozReview Request: Bug 1170884 - Add explicit orientation to LinearLayouts. r=mhaigh
https://reviewboard.mozilla.org/r/11547/#review9983
Ship It!
Attachment #8623441 -
Flags: review+
Updated•10 years ago
|
Attachment #8614471 -
Flags: review?(mhaigh) → review+
Comment 31•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review9985
Ship It!
Comment 32•10 years ago
|
||
Comment on attachment 8623456 [details]
MozReview Request: Bug 1170884 - Remove unnecessary namespace attribute. r=mhaigh
https://reviewboard.mozilla.org/r/11553/#review9987
Ship It!
Attachment #8623456 -
Flags: review?(mhaigh) → review+
Comment 33•10 years ago
|
||
Comment on attachment 8623457 [details]
MozReview Request: Bug 1170884 - Add title to menu item. r=mhaigh
https://reviewboard.mozilla.org/r/11555/#review9989
Ship It!
Attachment #8623457 -
Flags: review?(mhaigh) → review+
Comment 34•10 years ago
|
||
Comment on attachment 8623458 [details]
MozReview Request: Bug 1170884 - Use 0dp for layout_w/h for perf reasons. r=mhaigh
https://reviewboard.mozilla.org/r/11557/#review9993
Ship It!
Attachment #8623458 -
Flags: review?(mhaigh) → review+
| Assignee | ||
Comment 35•10 years ago
|
||
https://reviewboard.mozilla.org/r/11547/#review10003
> This seems superfluous to me. Looking at the code this view is only ever animated - it never has content added. Perhaps we can make it in to a simplier ViewGroup?
Filed bug 1175563.
| Assignee | ||
Comment 36•10 years ago
|
||
| Assignee | ||
Comment 37•10 years ago
|
||
Comment 38•10 years ago
|
||
| Assignee | ||
Comment 39•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Change inner LinearLayout to wrap_content. r=mhaigh
Inside a ScrollView. According to Android Lint:
ScrollView children must set their layout_width or layout_height attributes to
wrap_content rather than fill_parent or match_parent in the scrolling dimension
--- Who am I to argue?
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Remove obsolete layout params. r=mhaigh → MozReview Request: Bug 1170884 - Change inner LinearLayout to wrap_content. r=mhaigh
Attachment #8614471 -
Flags: review+ → review?(mhaigh)
| Assignee | ||
Updated•10 years ago
|
Attachment #8623441 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8623456 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8623457 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8623458 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8614471 -
Flags: review?(mhaigh) → review+
Comment 40•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review10391
Ship It!
| Assignee | ||
Comment 41•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8614471 -
Attachment description: MozReview Request: Bug 1170884 - Change inner LinearLayout to wrap_content. r=mhaigh → MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Attachment #8614471 -
Flags: review+ → review?(mhaigh)
| Assignee | ||
Comment 42•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Bug 1170884 - Disable IconColors lint warning. r=mhaigh
Comment 43•10 years ago
|
||
Comment 44•10 years ago
|
||
Comment on attachment 8614471 [details]
MozReview Request: Bug 1170884 - Disable IconColors lint warning. r=mhaigh
https://reviewboard.mozilla.org/r/9981/#review10541
Ship It!
Attachment #8614471 -
Flags: review?(mhaigh) → review+
| Assignee | ||
Comment 45•10 years ago
|
||
Comment 46•10 years ago
|
||
| Assignee | ||
Comment 47•10 years ago
|
||
I'll open up some new bugs when I start to actively work on this again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [leave-open]
Updated•4 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
•