Merge "Increases TC Logging Visibility for testing" into oc-dr1-dev

This commit is contained in:
Brad Ebinger
2017-06-13 22:51:28 +00:00
committed by Android (Google) Code Review

View File

@@ -325,7 +325,8 @@ public class Log {
return sEventManager;
}
private static SessionManager getSessionManager() {
@VisibleForTesting
public static SessionManager getSessionManager() {
// Checking for null again outside of synchronization because we only need to synchronize
// during the lazy loading of the session logger. We don't need to synchronize elsewhere.
if (sSessionManager == null) {