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 Change-Id: Ib7802e951ea793ca4484ef19972a9f2aed4bfd81
Loading
Please register or sign in to comment