1
0
Fork 0
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:
Simo Kinnunen 2014-01-30 16:53:49 +09:00
parent c45c081c6f
commit 1616840818
4 changed files with 52 additions and 0 deletions

View file

@ -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)