Descriptionchromeos: Fix renderer-freezing race during aborted suspend.
Fix a (long-standing?) race where
chromeos::PowerManagerClient could notify RendererFreezer
that a suspend attempt was imminent *after* already telling
it that the attempt was done.
Also make PowerManagerClient not notify powerd about regular
or dark suspend readiness after it's already seen a
SuspendDone signal.
Add a bunch of unit tests exercising this code, too, and
rework the comments on some previously-added tests.
BUG=646912
Committed: https://crrev.com/7e1b5a3c7d7ae30ed6ff862f6257ec617da9d742
Cr-Commit-Position: refs/heads/master@{#418887}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|