commit | 42af4e546894463a622ba88269e3a19696053712 | [log] [tgz] |
---|---|---|
author | Bill Lin <lbill@google.com> | Thu Oct 08 19:07:03 2020 +0800 |
committer | Bill Lin <lbill@google.com> | Thu Oct 08 21:44:01 2020 +0800 |
tree | a3d3ba8938866586864e6613247d304fb93733f6 | |
parent | a91a221e16c273f4bfe0aeeabdd5c84412040034 [diff] |
Presubmit com.android.wm.shell.onehanded test flaky Root cause: Obtain handler from OneHandedDisplayAreaOrganizer and assert if there's message in the message queue will encounter timing problem. Solution: Set a spied handler object into OneHandedDisplayAreaOrganizer, and verify if sendMessage() was called or not. Test: for i in {1..1000};do atest WMShellUnitTests;done Bug: 170376119 Change-Id: Ie9f5561d61ac3c917a7dfced6c3281adb81fd12e