diff options
author | Winson Chung <winsonc@google.com> | 2019-09-25 20:36:04 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2019-09-25 20:36:04 -0700 |
commit | edbfdb38633f81b436804a793ca3b94c1f7de26c (patch) | |
tree | eaa564e15867939eb0a80c129dc8abc4fed93b09 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 85ce7cb0fd1afc4f62aab4bcc00de2ca25402a13 (diff) |
Prevent adding duplicate callbacks to the state controller
- KeyguardBottomAreaView can add itself multiple times as a callback,
which can leak a bitmap via that view if the state controller keeps
an extra ref to it.
Bug: 141555865
Bug: 140629244
Test: Change overlays multiple times, take heap dump and ensure no
leaked bitmaps
Change-Id: I8169eac24d8801ae71e4bdc60a16c68eb3896cc4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions