Closed
Bug 1170884
Opened 9 years ago
Closed 8 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•9 years ago
|
||
Bug 1170884 - Call super from sub-class. r?nalexander
Attachment #8614471 -
Flags: review?(nalexander)
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1170884 - Use fully qualified android.R.*. r?nalexander
Attachment #8614472 -
Flags: review?(nalexander)
Comment 3•9 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•9 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•9 years ago
|
Whiteboard: [leave-open]
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6657b144de7c https://hg.mozilla.org/integration/fx-team/rev/37f093517fc0
Comment 6•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6657b144de7c https://hg.mozilla.org/mozilla-central/rev/37f093517fc0
Assignee | ||
Updated•8 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•8 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•8 years ago
|
Attachment #8614472 -
Attachment is obsolete: true
Comment 8•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d011301ad8be
Assignee | ||
Comment 10•8 years ago
|
||
Assignee | ||
Comment 11•8 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•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/e0319ae4326c
Assignee | ||
Comment 15•8 years ago
|
||
Attachment #8621230 -
Flags: review?(nalexander)
Assignee | ||
Updated•8 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•8 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•8 years ago
|
Attachment #8620371 -
Attachment is obsolete: true
Comment 18•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/4b2df807614e https://hg.mozilla.org/integration/fx-team/rev/0d0244279602
Assignee | ||
Comment 20•8 years ago
|
||
Comment on attachment 8621230 [details] [review] valueOf instead of new via gh.
Attachment #8621230 -
Flags: review?(nalexander) → review+
Assignee | ||
Updated•8 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•8 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•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4b2df807614e https://hg.mozilla.org/mozilla-central/rev/0d0244279602
Assignee | ||
Comment 23•8 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•8 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•8 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•8 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•8 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•8 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•8 years ago
|
Attachment #8623441 -
Flags: review?(mhaigh)
Comment 29•8 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•8 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•8 years ago
|
Attachment #8614471 -
Flags: review?(mhaigh) → review+
Comment 31•8 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•8 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•8 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•8 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•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/43b338ccbaa9 https://hg.mozilla.org/integration/fx-team/rev/67b89eefbb56 https://hg.mozilla.org/integration/fx-team/rev/9213957d166d https://hg.mozilla.org/integration/fx-team/rev/759bfacec785 https://hg.mozilla.org/integration/fx-team/rev/de50d9ec609e
Assignee | ||
Comment 37•8 years ago
|
||
https://reviewboard.mozilla.org/r/9979/#review10007 Filed bug 1175566.
Comment 38•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/43b338ccbaa9 https://hg.mozilla.org/mozilla-central/rev/67b89eefbb56 https://hg.mozilla.org/mozilla-central/rev/9213957d166d https://hg.mozilla.org/mozilla-central/rev/759bfacec785 https://hg.mozilla.org/mozilla-central/rev/de50d9ec609e
Assignee | ||
Comment 39•8 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•8 years ago
|
Attachment #8623441 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8623456 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8623457 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8623458 -
Attachment is obsolete: true
Updated•8 years ago
|
Attachment #8614471 -
Flags: review?(mhaigh) → review+
Comment 40•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/170d033d4e15
Assignee | ||
Updated•8 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•8 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 44•8 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•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/f96be24437af
Assignee | ||
Comment 47•8 years ago
|
||
I'll open up some new bugs when I start to actively work on this again.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [leave-open]
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
•