mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Properly react to ProbeMessage.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user