mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 965371 - Part 3: new docs for v3 device configuration environment. r=mcomella
This commit is contained in:
parent
5788fd5120
commit
a8f7e22f44
@ -306,6 +306,36 @@ The search counts measurement is now at version 5, which indicates that
|
||||
non-partner searches are recorded. You'll see identifiers like "other-Foo Bar"
|
||||
rather than "other".
|
||||
|
||||
|
||||
Version 3.2
|
||||
-----------
|
||||
|
||||
In Firefox 32, Firefox for Android includes a device configuration section
|
||||
in the environment description::
|
||||
|
||||
"org.mozilla.device.config": {
|
||||
"hasHardwareKeyboard": false,
|
||||
"screenXInMM": 58,
|
||||
"screenLayout": 2,
|
||||
"uiType": "default",
|
||||
"screenYInMM": 103,
|
||||
"_v": 1,
|
||||
"uiMode": 1
|
||||
}
|
||||
|
||||
Of these, the only keys that need explanation are:
|
||||
|
||||
uiType
|
||||
One of "default", "smalltablet", "largetablet".
|
||||
uiMode
|
||||
A mask of the Android *Configuration.uiMode* value, e.g.,
|
||||
*UI_MODE_TYPE_CAR*.
|
||||
screenLayout
|
||||
A mask of the Android *Configuration.screenLayout* value. One of the
|
||||
*SCREENLAYOUT_SIZE_* constants.
|
||||
|
||||
Note that screen dimensions can be incorrect due to device inaccuracies and platform limitations.
|
||||
|
||||
Other notable differences from Version 2
|
||||
----------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user