commit | edbfdb38633f81b436804a793ca3b94c1f7de26c | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Sep 25 20:36:04 2019 -0700 |
committer | Winson Chung <winsonc@google.com> | Wed Sep 25 20:36:04 2019 -0700 |
tree | eaa564e15867939eb0a80c129dc8abc4fed93b09 | |
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