diff options
| author | 2022-05-09 23:28:34 -0500 | |
|---|---|---|
| committer | 2022-05-10 19:02:51 -0500 | |
| commit | c27ab67023494891527aa7feaba49238a79d7c32 (patch) | |
| tree | c5a5304d81a0c47e05ba6e534d44c259c32acad1 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions