am c2049c32: Merge "[Rlog6.1] Fix LOG_EVERYTHING bug."
* commit 'c2049c3284e6fb64860f133c798388582b35b862': [Rlog6.1] Fix LOG_EVERYTHING bug.main
commit
e18acaa66c
|
@ -681,7 +681,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
if (!mCurrentLogUnit.isEmpty()) {
|
if (!mCurrentLogUnit.isEmpty()) {
|
||||||
if (mMainLogBuffer != null) {
|
if (mMainLogBuffer != null) {
|
||||||
mMainLogBuffer.shiftIn(mCurrentLogUnit);
|
mMainLogBuffer.shiftIn(mCurrentLogUnit);
|
||||||
if (mMainLogBuffer.isSafeToLog() && mMainResearchLog != null) {
|
if ((mMainLogBuffer.isSafeToLog() || LOG_EVERYTHING) && mMainResearchLog != null) {
|
||||||
publishLogBuffer(mMainLogBuffer, mMainResearchLog,
|
publishLogBuffer(mMainLogBuffer, mMainResearchLog,
|
||||||
true /* isIncludingPrivateData */);
|
true /* isIncludingPrivateData */);
|
||||||
mMainLogBuffer.resetWordCounter();
|
mMainLogBuffer.resetWordCounter();
|
||||||
|
|
Loading…
Reference in New Issue