Allow logging while replaying

Previously logging was disabled during replay.  This makes it impossible to use logged data as a
regression test, since the new log was unavailable.  This change corrects this problem.

Change-Id: I19dc31def2f2f87fd219dc561c739d18e4ab9c9c
main
Kurt Partridge 2013-03-25 17:21:58 -07:00
parent 54c091d284
commit 30772c3758
1 changed files with 1 additions and 2 deletions

View File

@ -790,8 +790,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
} }
private boolean isAllowedToLog() { private boolean isAllowedToLog() {
return !mIsPasswordView && !mIsLoggingSuspended && sIsLogging && !mInFeedbackDialog return !mIsPasswordView && !mIsLoggingSuspended && sIsLogging && !mInFeedbackDialog;
&& !isReplaying();
} }
public void requestIndicatorRedraw() { public void requestIndicatorRedraw() {