Chromium Code Reviews
Descriptionchromeos: Resume displays when suspend is cancelled.
Fix a race where:
- A suspend attempt starts, resulting in displays getting
reconfigured for suspend asynchronously.
- Before the config request finishes, the suspend attempt is
cancelled/completed and we attempt to resume displays
(which ends up being a no-op, as they're not yet
suspended).
- Displays are finally suspended and remain that way even
though the system has resumed.
Instead, note when a suspend attempt completes while the
suspend-displays task is still running and then resume the
displays when the task completes.
BUG=620208
Patch Set 1 #Patch Set 2 : update comments #Patch Set 3 : fix comment #
Messages
Total messages: 14 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||