Fix missing PCs in PC list after my NPE fix

This commit is contained in:
Cameron Gutman 2014-11-21 22:56:56 -08:00
parent 8eca3683c9
commit 72c1696f43

View File

@ -57,7 +57,7 @@ public class ComputerManagerService extends Service {
// Returns true if the details object was modified // Returns true if the details object was modified
private boolean runPoll(ComputerDetails details) private boolean runPoll(ComputerDetails details)
{ {
boolean newPc = (details.name == null); boolean newPc = details.name.isEmpty();
if (!getLocalDatabaseReference()) { if (!getLocalDatabaseReference()) {
return false; return false;