mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Properly react to ProbeMessage.
This commit is contained in:
parent
ce45090ba0
commit
4e5eef7458
2 changed files with 31 additions and 25 deletions
|
@ -38,30 +38,6 @@ var wireutil = {
|
|||
)
|
||||
.encodeNB()
|
||||
}
|
||||
, makeDeviceIdentityMessage: function(serial, identity) {
|
||||
return wireutil.envelope(new wire.DeviceIdentityMessage(
|
||||
serial
|
||||
, identity.platform
|
||||
, identity.manufacturer
|
||||
, identity.operator
|
||||
, identity.model
|
||||
, 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
|
||||
, identity.display.url
|
||||
)
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = wireutil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue