Merge "Fix parsing of WM trace in critical mode"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e639772f75
@@ -272,6 +272,10 @@ public class DisplayArea<T extends WindowContainer> extends WindowContainer<T> {
|
||||
|
||||
@Override
|
||||
public void dumpDebug(ProtoOutputStream proto, long fieldId, int logLevel) {
|
||||
if (logLevel == WindowTraceLogLevel.CRITICAL && !isVisible()) {
|
||||
return;
|
||||
}
|
||||
|
||||
final long token = proto.start(fieldId);
|
||||
super.dumpDebug(proto, WINDOW_CONTAINER, logLevel);
|
||||
proto.write(NAME, mName);
|
||||
|
||||
Reference in New Issue
Block a user