Change-Id: I8a091fb63dab12a0d2ba69e2fe393249bc68d103
This commit is contained in:
Kurt Partridge 2013-04-15 11:10:57 -07:00
parent 3970352ea9
commit 4ac28ded28

View file

@ -894,7 +894,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
// Check that expected word matches. // Check that expected word matches.
if (oldLogUnit != null) { if (oldLogUnit != null) {
final String oldLogUnitWord = oldLogUnit.getWord(); final String oldLogUnitWord = oldLogUnit.getWord();
if (!oldLogUnitWord.equals(expectedWord)) { if (oldLogUnitWord != null && !oldLogUnitWord.equals(expectedWord)) {
return; return;
} }
} }