commit | 3c805115ec0b44703b6a5960d05fde5376cb353a | [log] [tgz] |
---|---|---|
author | Kean Mariotti <keanmariotti@google.com> | Thu Aug 22 09:15:30 2024 +0000 |
committer | Kean Mariotti <keanmariotti@google.com> | Thu Aug 22 09:23:45 2024 +0000 |
tree | 08942673284ce2abcd7a583174f13ad5480af31d | |
parent | 3ffa9b59f389ea651bf0c96084fa2f99283264ad [diff] |
fix WM instance leaks WindowTracingDataSource used to hold a reference to WindowTracing that prevented WindowTracing (and in turn WindowManager) from being garbage collected. This CL solves the issue replacing that reference with a WeakReference object. Flag: android.tracing.perfetto_wm_tracing Bug: 323165543 Test: atest com.android.server.wm.SystemServicesTestRuleTest#testRule_ranSuccessfully Change-Id: Ib1c23fb920ae92a192ca870991778c49a148a798