commit | 1575f70ea53cd5e06295afa79184f9e5de70fb0f | [log] [tgz] |
---|---|---|
author | Kean Mariotti <keanmariotti@google.com> | Fri Aug 23 11:44:47 2024 +0000 |
committer | Kean Mariotti <keanmariotti@google.com> | Fri Aug 23 11:59:06 2024 +0000 |
tree | d424b1554b330b1220b898fac4f8a56333782b56 | |
parent | 3c805115ec0b44703b6a5960d05fde5376cb353a [diff] |
fix WM instance leaks Somehow weak references to WindowTracingPerfetto's methods become null, even though WindowTracingPerfetto is not garbage collected. Directly referencing (weakly) WindowTracingPerfetto, instead of its methods, solves the issue. Flag: android.tracing.perfetto_wm_tracing Bug: 323165543 Test: presubmit Change-Id: I73eb10b76d7e6ab3666ac977159d04ad0b38fd17