commit | 17bd267dbe74c1e3ea86ba9f8d149610bd89cced | [log] [tgz] |
---|---|---|
author | Bernardo Rufino <brufino@google.com> | Thu May 07 14:35:10 2020 +0100 |
committer | Bernardo Rufino <brufino@google.com> | Thu May 07 14:39:23 2020 +0100 |
tree | 425840d325b9df092787e2766fc9b65b39b5260f | |
parent | 653ffcd7191285de2c171366749c82afba2639ac [diff] |
Wait for home visible before resuming app switches The part that sets the stop-app-switches time from pressHomeButton() might race with resumeAppSwitches(), so waiting for home visible before calling the latter. That *might* be the cause of the flakiness in the bug. However, if it isn't I believe this change doesn't hurt. Test: atest BackgroundActivityLaunchTest Bug: 134733754 Change-Id: Ie128b658ee427e0931cfa2cb4bf2b1e7a071357b