commit | 635c115c4c020a15f44a9b7d90aeca63da0838c7 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Wed Apr 12 17:47:47 2017 -0700 |
committer | Jonathan Miranda <jonmiranda@google.com> | Thu May 04 22:42:09 2017 +0000 |
tree | 5171d61213a7145978db9ebd0897d9efb3230eb0 | |
parent | af4bfcdb7e55682d441c9723cd3659ece6f7164c [diff] |
Calls cancel on mDimAnimator to ensure that ref counts are accurate. When we used cancelAnimationWithoutCallbacks on mDimAnimator, the decrementOnAnimationEnd listener is removed. This created a bug where the ReferenceCountedTrigger was not able to flush its last decrement runnables. ie. The Close icon was not always visible for the apps in Recents/Overview. Bug: 37132803 Test: Manual testing. Change-Id: Idbb1a1e42313db71328990577b3163b0d16b28d6