mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Add support for Screen size (in inches).
This commit is contained in:
parent
6c09a53d55
commit
a4a46fc48b
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ datautil.applyData = function(device) {
|
||||||
device.image = match.image
|
device.image = match.image
|
||||||
device.cpu = match.cpu
|
device.cpu = match.cpu
|
||||||
device.memory = match.memory
|
device.memory = match.memory
|
||||||
|
if (match.display && match.display.s) {
|
||||||
|
device.display = device.display || {}
|
||||||
|
device.display.inches = match.display.s
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log.warn(
|
log.warn(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue