Closed
Bug 689598
Opened 13 years ago
Closed 13 years ago
Implement downloadable device blacklisting for Android
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: ajuma, Assigned: drs)
References
Details
Attachments
(2 files, 3 obsolete files)
10.05 KB,
patch
|
drs
:
review+
|
Details | Diff | Splinter Review |
2.63 KB,
patch
|
drs
:
review+
|
Details | Diff | Splinter Review |
We currently implement a only hard-coded device blacklist in GfxInfo. We should add support for a downloadable blacklist.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dsherk
Assignee | ||
Comment 1•13 years ago
|
||
Setting reviewer to bjacob for now, talking with joe to see if he can review it instead. This enables the downloadable blacklist on Android devices. It was already enabled, but wasn't being processed. Note that this depends on the patch in bug 704710. Also, this shouldn't be landed yet. We still have to deal with the issues reported in bug 700124 first.
Attachment #576656 -
Flags: review?(bjacob)
Assignee | ||
Updated•13 years ago
|
Attachment #576656 -
Flags: review?(bjacob) → review?(joe)
Updated•13 years ago
|
Attachment #576656 -
Flags: review?(joe) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Please review again, there were some changes made to support using Android SDK versions as the driver version field.
Attachment #576656 -
Attachment is obsolete: true
Attachment #577861 -
Flags: review?(joe)
Assignee | ||
Comment 3•13 years ago
|
||
Try push: https://tbpl.mozilla.org/?tree=Try&rev=cffd58590c65
Comment 4•13 years ago
|
||
Comment on attachment 577861 [details] [diff] [review] Patch v1.1, enable downloadable blacklist on Android devices. Review of attachment 577861 [details] [diff] [review]: ----------------------------------------------------------------- ::: widget/src/android/GfxInfo.cpp @@ +104,5 @@ > + mAdapterDescription.Append(NS_LITERAL_STRING("', Manufacturer: '")); > + if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "MANUFACTURER", str)) > + mAdapterDescription.Append(str); > + mAdapterDescription.Append(NS_LITERAL_STRING("', Hardware: '")); > + PRInt32 version; // the HARDWARE field isn't available on Android SDK < 8 Maybe insert a blank line here. @@ -297,5 @@ > - // For now, we don't implement the downloaded blacklist. > - if (aDriverInfo.Length()) { > - *aStatus = nsIGfxInfo::FEATURE_NO_INFO; > - return NS_OK; > - } Be sure that we don't return any built-in blocklist items (eg hard-coded in widget/src/android/GfxInfo.cpp) if aDriverInfo has any items in it. This makes sure we don't set our blacklist prefs on a downloaded blocklist ping unless they actually apply to us.
Attachment #577861 -
Flags: review?(joe) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Addressed code review, +r carried.
Attachment #577861 -
Attachment is obsolete: true
Attachment #578491 -
Flags: review+
Assignee | ||
Comment 6•13 years ago
|
||
Try push: https://tbpl.mozilla.org/?tree=Try&rev=abe278c327db
Assignee | ||
Comment 7•13 years ago
|
||
Refactored crash report annotation to happen after Init because with changes in "enable downloadable blacklist on Android devices", all device info is cached on Init.
Attachment #578763 -
Flags: review?(bgirard)
Comment 8•13 years ago
|
||
Comment on attachment 578763 [details] [diff] [review] Patch v1.0, fix crash reporter on Android. :D
Attachment #578763 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 9•13 years ago
|
||
Rebased/unbitrotted, +r carried.
Attachment #578763 -
Attachment is obsolete: true
Attachment #579855 -
Flags: review+
Assignee | ||
Comment 10•13 years ago
|
||
https://tbpl.mozilla.org/?rev=fe937bac6e75
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b9c1b8afb35a
Target Milestone: --- → mozilla11
Comment 12•12 years ago
|
||
Backed out from beta only: http://hg.mozilla.org/releases/mozilla-beta/rev/544f5bc26164 See bug 711656 for explanation.
Comment 13•12 years ago
|
||
http://hg.mozilla.org/releases/mozilla-beta/rev/9af0904f0486 as well.
You need to log in
before you can comment on or make changes to this bug.
Description
•