commit | 765631a5ff2a585374139ed3993e72a6b3c1fa7f | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Wed Jul 22 08:52:13 2020 -0400 |
committer | Matt Pietal <mpietal@google.com> | Wed Jul 22 08:52:13 2020 -0400 |
tree | 18206f229ac00bc39a0b2813240cf82666fbf8a9 | |
parent | 3dbb487351ac42fde25cf9dde5308ad1e838ebac [diff] |
Controls UI - Remove stale references to prevent memory leak The binding controller uses callbacks to other areas of code to convey subscriber changes. Since this area uses a binder, GC may not happen immediately. Therefore, reassign callbacks when complete. Fixes: 160305530 Test: external/perfetto/tools/java_heap_dump -n com.android.systemui Change-Id: I6e4811dca8cb4eb5a3d75d5707bea611c5ce613b