Closed
Bug 740569
Opened 13 years ago
Closed 13 years ago
Make the display port strategy preffable
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox14 fixed, blocking-fennec1.0 -)
RESOLVED
FIXED
Firefox 14
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
8.45 KB,
patch
|
cwiiis
:
review+
|
Details | Diff | Splinter Review |
Not sure if gfx.displayport.strategy is a good name for the pref, I just made it up.
Attachment #610658 -
Flags: review?(chrislord.net)
Updated•13 years ago
|
blocking-fennec1.0: --- → ?
Comment 1•13 years ago
|
||
Comment on attachment 610658 [details] [diff] [review]
Patch
Review of attachment 610658 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
::: mobile/android/base/gfx/DisplayPortCalculator.java
@@ +33,5 @@
> + * See the gfx.displayport.strategy pref in mobile/android/app/mobile.js to see the
> + * mapping between ints and strategies.
> + */
> + static void setStrategy(int strategy) {
> + Log.v(LOGTAG, "Setting strategy " + strategy);
Might be nice to output a string here, rather than just a number? Not a big deal.
I'd also say maybe Log.d, rather than v? Maybe even i? It's probably information we'd want to know if we start dynamically picking strategies and we're analysing peoples' logcats.
Attachment #610658 -
Flags: review?(chrislord.net) → review+
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #1)
> Might be nice to output a string here, rather than just a number? Not a big
> deal.
I changed it to print out the class name after setting it.
> I'd also say maybe Log.d, rather than v? Maybe even i? It's probably
> information we'd want to know if we start dynamically picking strategies and
> we're analysing peoples' logcats.
Good point, used Log.i
https://hg.mozilla.org/integration/mozilla-inbound/rev/931fe44e6326
status-firefox14:
--- → fixed
Target Milestone: --- → Firefox 14
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
blocking-fennec1.0: ? → -
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
•