commit | 9b3081fcfc8a81c9ed3460abbaa15adc27650314 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Dec 03 17:08:22 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Dec 03 09:16:15 2019 +0000 |
tree | c0212e2b2c8639f9dc1a8c2e24848edc028eb60b | |
parent | 53f424dee6979f65f55a71b0b43aeb9b1cbdce26 [diff] |
Fix tearDown of ActivityViewTest The order of global cleanup is moved to the last execution in commit 7cfb452. That may cause a timing that the host activity is performing traversal on the ActivityView after it is released and then accesses the removed display. This fix just detaches the view before releasing to avoid the case. Bug: 112837428 Test: atest CtsWindowManagerDeviceTestCases:ActivityViewTest Change-Id: I605ddd6fa5500412357e5a5e0f03bc0bf58faae2