mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Add display information to device identity.
This commit is contained in:
parent
c45c081c6f
commit
1616840818
4 changed files with 52 additions and 0 deletions
|
@ -99,6 +99,17 @@ module.exports = function(wire) {
|
|||
, identity.version
|
||||
, identity.abi
|
||||
, identity.sdk
|
||||
, new wire.DeviceDisplayMessage(
|
||||
identity.display.id
|
||||
, identity.display.width
|
||||
, identity.display.height
|
||||
, identity.display.orientation
|
||||
, identity.display.xdpi
|
||||
, identity.display.ydpi
|
||||
, identity.display.fps
|
||||
, identity.display.density
|
||||
, identity.display.secure
|
||||
)
|
||||
)
|
||||
|
||||
return wireutil.envelope(wire.MessageType.DEVICE_IDENTITY, message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue