From 41fe487e3a379ec69925b679140b406eb21884ba Mon Sep 17 00:00:00 2001 From: Kurt Partridge Date: Tue, 18 Dec 2012 13:57:22 -0800 Subject: [PATCH] [Rlog6.1] Fix LOG_EVERYTHING bug. (It wasn't logging everything). Change-Id: I8c9fd1e7c04e1a3813e26e67691e0366ff48c9ee --- java/src/com/android/inputmethod/research/ResearchLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/research/ResearchLogger.java b/java/src/com/android/inputmethod/research/ResearchLogger.java index 6aafbfcb6..a23b96ead 100644 --- a/java/src/com/android/inputmethod/research/ResearchLogger.java +++ b/java/src/com/android/inputmethod/research/ResearchLogger.java @@ -675,7 +675,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang if (!mCurrentLogUnit.isEmpty()) { if (mMainLogBuffer != null) { mMainLogBuffer.shiftIn(mCurrentLogUnit); - if (mMainLogBuffer.isSafeToLog() && mMainResearchLog != null) { + if ((mMainLogBuffer.isSafeToLog() || LOG_EVERYTHING) && mMainResearchLog != null) { publishLogBuffer(mMainLogBuffer, mMainResearchLog, true /* isIncludingPrivateData */); mMainLogBuffer.resetWordCounter();