commit | 91f635ea668d4ad70ad75e147abace56deead8b3 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Sat Jan 08 05:46:09 2022 -0800 |
committer | Dominik Laskowski <domlaskowski@google.com> | Sat Jan 08 17:04:34 2022 -0800 |
tree | 9d39ba42920b7d61f55d12fa5da282eccdf7685e | |
parent | 08843dfa88678ab317a4f2515f716e8e21c0f349 [diff] |
SF: Fix leak in unit tests Remove the sp<SurfaceFlinger> cycle in WindowInfosListenerInvoker, such that TestableSurfaceFlinger can delete its SurfaceFlinger instance. Also, remove the indirection for the windowInfosReported callback. Bug: 213688734 Test: No spam/aborts regarding leaks. Change-Id: I50450881e8a37ff64dab12bf6afe02711cdd93b7