diff options
author | 2025-03-27 22:28:01 +0000 | |
---|---|---|
committer | 2025-04-16 09:07:32 -0700 | |
commit | 2e5169f5b17ed6002ca58f705ea0b7ec8014bf97 (patch) | |
tree | 46888664db6ad56f3709950a661510f30cccac71 /tools/codegen/src | |
parent | 8bf4362d5e3602af509887fbbf161dcda9edd60f (diff) |
Ensure dream logic is not suspended on handler.
It is possible for work to be queued on a handler and then
suspended in doze mode. This can cause dream operations to
be noticeably deferred. In order to address this, a wake
lock is now acquired in this scenario and wraps these
calls on the handler. Note that in the normal, non-doze
dream case, the wakelock is not necessary.
Bug: 404420534
Flag: EXEMPT bugfix
Test: atest DreamServiceTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d958722427762581b9a39b3518d21334e063d99b)
Merged-In: Ib7802e951ea793ca4484ef19972a9f2aed4bfd81
Change-Id: Ib7802e951ea793ca4484ef19972a9f2aed4bfd81
Diffstat (limited to 'tools/codegen/src')
0 files changed, 0 insertions, 0 deletions