Closed Bug 700931 Opened 13 years ago Closed 13 years ago

Android GfxInfo attempts to use Build.HARDWARE field on SDK <8

Categories

(Core Graveyard :: Widget: Android, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla11

People

(Reporter: jdm, Assigned: jdm)

References

Details

Attachments

(1 file)

Comment on attachment 573868 [details] [diff] [review] Avoid using the HARDWARE field on Android SDK versions <8. Review of attachment 573868 [details] [diff] [review]: ----------------------------------------------------------------- ::: widget/src/android/GfxInfo.cpp @@ +108,5 @@ > aAdapterDescription.Append(NS_LITERAL_STRING("', Manufacturer: '")); > if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "MANUFACTURER", str)) > aAdapterDescription.Append(str); > aAdapterDescription.Append(NS_LITERAL_STRING("', Hardware: '")); > + PRInt32 version; add a comment that says something like 'HARDWARE isn't available on Android SDK < 8'
Attachment #573868 - Flags: review?(doug.turner) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: