Skip to content
Commit a778ee8b authored by Sean Stout's avatar Sean Stout
Browse files

Release display suspend blocker when shutting down DPC

This CL fixes an issue where it was possible for a suspend blocker to be
permanently held when shutting down a DPC.

A DPC usually releases the acquired suspend blocker either shorly after
acquiring it or posting a Runnable which clears the suspend blocker.

However in the case that a DPC has "unfinished business" this is not the
case and the suspend blocker will be released at an unknown future point
in time.

When shutting down a DPC, check for unfinished business and release the
suspend blocker if necessary.

Bug: 182086821
Change-Id: I7faa3bddd0c6ad9ac548c0778371405af70189f9
parent 71cf0b48
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