summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2022-06-24 02:12:53 +0100
committer Michael Wright <michaelwr@google.com> 2022-06-24 18:39:18 +0100
commit5747d1a5511b76a91ea98947c356d15c09cc30ba (patch)
tree72c1a8175d4f2b0359e2f3a737b3d085e8c6e60f /libs/androidfw/Util.cpp
parenta637f955c1fcff01a4e1cb8db7694e22d4c939b2 (diff)
Release outstanding suspend blockers when shutting down DPC
Right now DPC removes all messages but doesn't actually clean up all of the outstanding state that's in flight. In general, this isn't that harmful for most things as the display is going away at this point, but if any suspend blockers are being held pending this work then we end up in a state where the device can never suspend. This causes severe battery drain that can only be fixed by a reboot. Test: manual Fixes: 213407479 Change-Id: I5b61f5bd498f09026d5b398bb3a8ccdaa91601fe
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions