commit | 8b670a3b278c16544262edcdf5bb34283913c380 | [log] [tgz] |
---|---|---|
author | Yifei Zhang <yfz@google.com> | Tue May 14 14:25:13 2024 -0700 |
committer | Yifei Zhang <yfz@google.com> | Wed May 15 17:04:55 2024 +0000 |
tree | c379f634b48be73f134a1536e98e14e84548e9ca | |
parent | c286eecc702025d873ea6fb0b3e58d5505202b2a [diff] |
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