commit | c27ab67023494891527aa7feaba49238a79d7c32 | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Mon May 09 23:28:34 2022 -0500 |
committer | Beth Thibodeau <ethibodeau@google.com> | Tue May 10 19:02:51 2022 -0500 |
tree | c5a5304d81a0c47e05ba6e534d44c259c32acad1 | |
parent | 253e417e7694b63b89d2f118f2841e5659520227 [diff] |
Handle timeouts while dozing The executor might not run on time if the system started dozing since it was scheduled. So, check for expired timeouts when we wake up and cancel them at that time instead. Test: manual - wait 10 mins, turn on screen, media is gone Test: atest MediaTimeoutListenerTest Fixes: 229908880 Change-Id: I0f100c97ce0eb1dd111bd8d393dafa9da67b024c