commit | e2e5ee1c3935a1ee66128a1081bedc9ec40f9012 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Jun 11 23:44:39 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Jun 12 01:28:56 2019 +0800 |
tree | 24eb38e2161584c9aaf6b1f4b2b8ee869045b5d7 | |
parent | e33ff60894c2d037d060d26de9f04eed2881db23 [diff] |
Fix crash of test after finishing RecentsAnimationTest The scheduleIdleLocked may be called when updating visibility of activity. That will cause a mocked record to be used in unexpected invocations. Also block until the test thread has completed the pending messages to prevent the execution from overlapping with the next test. Fix: 134891465 Test: atest RecentsAnimationTest Change-Id: I339505ee75ba6e67aa8668dd4e40aef0f74df2aa