mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Default to null operator if none can be found. Easier to work with than undefined.
This commit is contained in:
parent
55bdd4aecb
commit
483bf1be7a
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ devutil.makeIdentity = function(serial, properties) {
|
|||
serial: serial
|
||||
, platform: 'Android'
|
||||
, manufacturer: manufacturer.toUpperCase()
|
||||
, operator: operator
|
||||
, operator: operator || null
|
||||
, model: model
|
||||
, version: version
|
||||
, abi: abi
|
||||
|
|
|
@ -74,7 +74,7 @@ message DeviceIdentityMessage {
|
|||
required string serial = 1;
|
||||
required string platform = 2;
|
||||
required string manufacturer = 3;
|
||||
required string operator = 4;
|
||||
optional string operator = 4;
|
||||
required string model = 5;
|
||||
required string version = 6;
|
||||
required string abi = 7;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue