commit | 3c988197fac989e4cca7fd1a96f6489e8ed4a05b | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Jan 19 16:32:17 2016 -0800 |
committer | Jorim Jaggi <jjaggi@google.com> | Thu Jan 21 01:59:27 2016 +0000 |
tree | efa75f6d3ef76852532a792c486a6ae4898fc3cc | |
parent | 8d6f1956e46cefed0eaa754a468805e2e4d61972 [diff] |
Fix SystemUI animator leak When there was a state change or layout when there was an animation set as the mobile icon in the status bar, we never stopped the old animation, which was infinite. This was using more and more CPU because the animations never got stopped. To fix this, we don't update the drawable when a layout happens and we stop the previous animation when replacing the icon. Bug: 26616870 Change-Id: If501155d1a99d587e50a1b77ebb03a21c940662b