mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 04:53:19 +02:00
add the column of CPU Platform in device list (#777)
* add the column of CPU Platform in device list * Update api.js * Update solo.js * Update devutil.js * Update device-column-service.js * Update device-list-controller.js
This commit is contained in:
@@ -107,6 +107,7 @@ devutil.makeIdentity = function(serial, properties) {
|
||||
var sdk = properties['ro.build.version.sdk']
|
||||
var abi = properties['ro.product.cpu.abi']
|
||||
var product = properties['ro.product.name']
|
||||
var cpuPlatform = properties['ro.board.platform']
|
||||
|
||||
// Remove brand prefix for consistency
|
||||
if (model.substr(0, brand.length) === brand) {
|
||||
@@ -130,5 +131,6 @@ devutil.makeIdentity = function(serial, properties) {
|
||||
, abi: abi
|
||||
, sdk: sdk
|
||||
, product: product
|
||||
, cpuPlatform: cpuPlatform
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user