commit | 7906b3e678596c2e9984232a55551e7439cd3a1c | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu May 10 10:32:39 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu May 10 10:52:37 2018 -0700 |
tree | 27f25253e169aa19d467c0d0150cff2edfb8e199 | |
parent | b638985cc1399504216101afcd4d52d8b4def48b [diff] |
Remove failsafe runnable once the animation finishes. - The scheduled failsafe runnable was running after we had already cleaned up the reference to the animation runner. Clear the runnable and also mark the animation as canceled so that future calls that happen to get through (from the runner as well) are also ignored. Bug: 79514993 Test: atest FrameworksServicesTests:com.android.server.wm.RecentsAnimationControllerTest Change-Id: Ib8d565022068833ccad212df3a7f6df68f5343d7