commit | f1614a6ec2d972c1a975777d7998615c8ed4d142 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Thu May 26 16:57:20 2016 -0700 |
committer | Selim Cinek <cinek@google.com> | Thu May 26 17:52:03 2016 -0700 |
tree | fed84bb78bc5387d5089b67fc4340e512a4e0ae9 | |
parent | 0db3ad24100e21d1a6bd2e6fb6cf1cdd67d02e47 [diff] |
Fixed a few memory leaks in SystemUI Fist of all we made the statemap a weak hashmap in order never to leak any views anymore. Another leak could occur because predrawlisteners were added twice but removal only removes one. A view was then leaked in case it was detached before predraw. Also fixed a leak when transforming the header because a state wasn't nulled. Change-Id: I2573a506c307196ef60c905dc823ea8a95e91a16 Fixes: 28945863