* commit 'bfe5c07fda3d24589b1ad16d41c0dafd6651d0ee': Avoid NPE
This commit is contained in:
commit
de51abf1cf
1 changed files with 3 additions and 3 deletions
|
@ -380,6 +380,9 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
requestIndicatorRedraw();
|
requestIndicatorRedraw();
|
||||||
mStatistics.reset();
|
mStatistics.reset();
|
||||||
checkForEmptyEditor();
|
checkForEmptyEditor();
|
||||||
|
if (mFeedbackLogBuffer == null) {
|
||||||
|
resetFeedbackLogging();
|
||||||
|
}
|
||||||
if (!isAllowedToLog()) {
|
if (!isAllowedToLog()) {
|
||||||
// Log.w(TAG, "not in usability mode; not logging");
|
// Log.w(TAG, "not in usability mode; not logging");
|
||||||
return;
|
return;
|
||||||
|
@ -413,9 +416,6 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (mFeedbackLogBuffer == null) {
|
|
||||||
resetFeedbackLogging();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void resetFeedbackLogging() {
|
private void resetFeedbackLogging() {
|
||||||
|
|
Loading…
Reference in a new issue