Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8b670a3b authored by Yifei Zhang's avatar Yifei Zhang
Browse files

dpc: call updatePowerState instead of post to handler

- When overriding doze screen state, we are already on the same thread.
- Running synchronous here makes it more predictable so that the caller
  can hold and release wake locks.

Test: manual
Bug: 336599466
Change-Id: I20cf9fb08422e32de318c441df3947f613885b0f
parent c286eecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment