Chromium Code Reviews
Descriptionchromeos: Avoid crash on synchronous suspend readiness call.
Avoid a CHECK() (and premature HandleSuspendReadiness D-Bus
call to powerd) in
PowerManagerClient::MaybeReportSuspendReadiness that could
happen when a PowerManagerClient::Observer called
GetSuspendReadinessCallback() and then invoked the callback
synchronously from its SuspendImminent() method instead of
running it asynchronously. It appears that
DisplayConfigurator does this in some no-op cases.
(Unit tests omitted for merge to M54 since they depend on
additional changes.)
BUG=chrome-os-partner:58295, 648580
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2403733003
Cr-Commit-Position: refs/heads/master@{#424214}
(cherry picked from commit 2e1f06081912f24add12275fc184f1995011faed)
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|
|||||||||||||||||||