Descriptionchromeos: Don't apply stale display power state after resume
Fix an issue where the last-requested display power state
was bound to a delayed task on resume. If a new state was
requested while the task was waiting to run (e.g. due to
exiting docked mode), the task would later restore the old
state.
Instead, add a thunk for the task that always uses the
currently-requested state.
BUG=chrome-os-partner:32393
Committed: https://crrev.com/c8052f9d1d76ecf5c616558b59913e4f4e59adc6
Cr-Commit-Position: refs/heads/master@{#299812}
Patch Set 1 #Patch Set 2 : add a test #
Messages
Total messages: 8 (2 generated)
|