mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 04:53:19 +02:00
Add operator to device data.
This commit is contained in:
@@ -173,6 +173,7 @@ devutil.makeIdentity = function(serial, properties) {
|
||||
var model = properties['ro.product.model']
|
||||
, brand = properties['ro.product.brand']
|
||||
, manufacturer = properties['ro.product.manufacturer']
|
||||
, operator = properties['gsm.sim.operator.alpha']
|
||||
, version = properties['ro.build.version.release']
|
||||
, sdk = properties['ro.build.version.sdk']
|
||||
, abi = properties['ro.product.cpu.abi']
|
||||
@@ -194,6 +195,7 @@ devutil.makeIdentity = function(serial, properties) {
|
||||
serial: serial
|
||||
, platform: devutil.platform('android')
|
||||
, manufacturer: devutil.manufacturer(manufacturer)
|
||||
, operator: operator
|
||||
, model: model
|
||||
, version: version
|
||||
, abi: abi
|
||||
|
||||
Reference in New Issue
Block a user