Merge "Fix testDefaultDisplayOverrideConfiguration failed."

This commit is contained in:
TreeHugger Robot
2019-02-18 19:09:04 +00:00
committed by Android (Google) Code Review

View File

@@ -568,7 +568,7 @@ public abstract class ConfigurationContainer<E extends ConfigurationContainer> {
final long token = proto.start(fieldId);
mRequestedOverrideConfiguration.writeToProto(proto, OVERRIDE_CONFIGURATION,
logLevel != WindowTraceLogLevel.CRITICAL);
logLevel == WindowTraceLogLevel.CRITICAL);
if (logLevel == WindowTraceLogLevel.ALL) {
mFullConfiguration.writeToProto(proto, FULL_CONFIGURATION, false /* critical */);
mMergedOverrideConfiguration.writeToProto(proto, MERGED_OVERRIDE_CONFIGURATION,