aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Raita <kraita@google.com>2017-07-05 13:08:01 -0700
committerKalle Raita <kraita@google.com>2017-07-05 13:08:01 -0700
commit4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc (patch)
treef8c684371cdab44c7d64e81f744716c56d0d6d8a
parent5284bc1667ddc38b59d452d4c89440d1c301a2fc (diff)
downloadcherry-4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc.tar.gz
Show serial number for all ADB devices
Previously devices usually only had their ADB produce name. It's possible to have multiple devices with same name connected. Showing serial number allows differentiating between the similar devices. Test: Run cherry, visual inspection Change-Id: Ib460cc0b77e2bce34657a68bfc0ccfa9ca5151de
-rw-r--r--client/partials/testLaunch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/partials/testLaunch.html b/client/partials/testLaunch.html
index ab2902c..3335b20 100644
--- a/client/partials/testLaunch.html
+++ b/client/partials/testLaunch.html
@@ -182,7 +182,7 @@ limitations under the License.
<div ng-controller="DeviceConfigCtrl" ng-repeat="connection in adbDeviceConnections.connections" ng-class="{active:selectedDeviceId===connection.deviceId}" class="panel panel-default" ng-init="initADB(connection)">
<div class="panel-heading clickable" ng-click="selectDevice(connection.deviceId)" ng-dblclick="isOpen = !isOpen">
<h4 class="panel-title">
- <b>{{ value.name || 'Unknown device (' + value.adbSerialNumber + ')' }}</b>
+ <b>{{ value.name || 'Unknown device' }}</b> ({{ value.adbSerialNumber || '' }})
- <span ng-class="connection.state | adbDeviceStateClass">{{ connection.state | adbDeviceStateHumanReadable }}</span>
<div id="expandButton" class="pull-right" ng-click="isOpen = !isOpen">