am a5bfac5b: Merge "Fix NPE"
* commit 'a5bfac5becddda70c76a151d838666b33374c0ef': Fix NPEmain
commit
f5864fbb7a
|
@ -894,7 +894,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
// Check that expected word matches.
|
||||
if (oldLogUnit != null) {
|
||||
final String oldLogUnitWord = oldLogUnit.getWord();
|
||||
if (!oldLogUnitWord.equals(expectedWord)) {
|
||||
if (oldLogUnitWord != null && !oldLogUnitWord.equals(expectedWord)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue