Skip to content

Commit

Permalink
Re-enable scanning props at launch as related Windows bugs have been …
Browse files Browse the repository at this point in the history
…fixed now.

Show hardware ID of device if it is reported as 'Unknown' by the firmware.
  • Loading branch information
xsacha committed Aug 25, 2014
1 parent f131376 commit 1c07112
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,8 @@ void InstallNet::restoreReply()
backup();
else if (restoring())
restore();
/*else if (_hadPassword)
scanProps();*/
else if (_hadPassword)
scanProps();
//backupQuery();
}
else if (xml.name() == "DynamicProperties")
Expand Down Expand Up @@ -763,13 +763,16 @@ void InstallNet::restoreReply()
setKnownOS(xml.readElementText());
else if (name == "BatteryLevel")
setKnownBattery(xml.readElementText().toInt());
else if (name == "HardwareID") {
// If the firmware reports the device as unknown (eg. Dev Alpha on 10.3), show the Hardware ID
if (knownHW() == "Unknown")
setKnownHW(xml.readElementText());
}
/* // DEPRECATED by discovery.cgi
else if (name == "DeviceName")
{
// name that the user calls their phone
}
else if (name == "HardwareID")
setKnownHW(xml.readElementText());*/
}*/
}
}
// No need to show this list anymore, I think
Expand Down

0 comments on commit 1c07112

Please sign in to comment.