Fix malformed trace section
Fixes an issue where traces had extremely long trace sections named "com.android.systemui.volume.VolumeDialogImpl$H: ..." - Before: http://screen/9FqnTei2mgQTVcb - After: http://screen/6dVEB4u36oorCNm Test: capture perfetto trace, ensure there is no unusual trace sections Bug: 238923086 Change-Id: Ia1f3e3a519da2f4e836f723e04edd75d65ee5afe
This commit is contained in:
@@ -1473,6 +1473,7 @@ public class VolumeDialogImpl implements VolumeDialog, Dumpable,
|
||||
mHandler.removeMessages(H.SHOW);
|
||||
if (mIsAnimatingDismiss) {
|
||||
Log.d(TAG, "dismissH: isAnimatingDismiss");
|
||||
Trace.endSection();
|
||||
return;
|
||||
}
|
||||
mIsAnimatingDismiss = true;
|
||||
|
||||
Reference in New Issue
Block a user