Closed
Bug 912339
Opened 11 years ago
Closed 11 years ago
[flatfish] Use a "Tablet" UA string
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 906538
People
(Reporter: fabrice, Unassigned)
References
Details
We use the "Tablet" keyword on Android tablets (see https://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpHandler.cpp#687) but not on gonk. This is needed to not get mobile-optimized sites on larger screens. The implementation should be added around https://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsSystemInfo.cpp#157 (the android implementation is at https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/util/HardwareUtils.java#35) and could probably use device dpi and screen resolution to decide that anything >= 7 inches is a tablet.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•