1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 02:09:32 +02:00

Add operator to device data.

This commit is contained in:
Simo Kinnunen 2014-01-31 19:31:21 +09:00
parent 7c0e04c4b4
commit f173e6650a
4 changed files with 10 additions and 5 deletions

View file

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