Not detecting Nexus 7 2013

Bug #1297989 reported by Pat McGowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Benjamin Zeller
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The new Nxxus 7 is reported as not being detected even though it really is.

The logic in ubuntudeviceswidget.cpp seems suspect

            QStringList lineData = line.split(QLatin1String(Constants::UBUNTUDEVICESWIDGET_ONFINISHED_ADB_SEPARATOR));

            if (lineData.count() == 2) {
                QString sSerialNumber = lineData.takeFirst();
                QString sDeviceInfo = lineData.takeFirst();
                ui->comboBoxSerialNumber->addItem(sSerialNumber.trimmed(),sDeviceInfo);
            }

ADB_SEPARATOR is seven spaces, which is what is usually reported by other devices such as Mako
01acb3051a9f6b24 device usb:2-1.2 product:occam model:Nexus_4 device:mako
but Flo reports
05f10a69 device usb:2-1.2 product:occam model:Nexus_4 device:mako
which has a shorter serial number.

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
assignee: Zoltan Balogh (bzoltan) → zbenjamin (zeller-benjamin)
Changed in qtcreator-plugin-ubuntu:
status: New → In Progress
Changed in qtcreator-plugin-ubuntu:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.0.1+14.04.20140329-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.0.1+14.04.20140329-0ubuntu1) trusty; urgency=low

  [ Benjamin Zeller ]
  * Split device string with a regex instead of a fixed number of spaces
    (LP: #1297989) (LP: #1297989)
  * grep desktop file path from the manifest, if its not in the root
    dir. rsync instead of tar and scp .
  * CMake projects are not properly handled when the project name is not
    lowercase (LP: #1298566) (LP: #1298566)

  [ David Planella ]
  * Adds the required Author key to the scope template's .ini file. (LP:
    #1297862)
 -- Ubuntu daily release <email address hidden> Sat, 29 Mar 2014 20:05:25 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.