mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix NPE
Change-Id: I8a091fb63dab12a0d2ba69e2fe393249bc68d103
This commit is contained in:
parent
3970352ea9
commit
4ac28ded28
@ -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
Block a user