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

Fall back to gsm.operator.alpha if gsm.sim.operator.alpha doesn't exist.

This commit is contained in:
Simo Kinnunen 2014-03-19 19:52:28 +09:00
parent d817783b63
commit 09604c0142

View file

@ -166,6 +166,7 @@ devutil.makeIdentity = function(serial, properties) {
, brand = properties['ro.product.brand'] , brand = properties['ro.product.brand']
, manufacturer = properties['ro.product.manufacturer'] , manufacturer = properties['ro.product.manufacturer']
, operator = properties['gsm.sim.operator.alpha'] , operator = properties['gsm.sim.operator.alpha']
|| properties['gsm.operator.alpha']
, version = properties['ro.build.version.release'] , version = properties['ro.build.version.release']
, sdk = properties['ro.build.version.sdk'] , sdk = properties['ro.build.version.sdk']
, abi = properties['ro.product.cpu.abi'] , abi = properties['ro.product.cpu.abi']