Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Issue 2690263005: mash: Disable calls to suspend and resume displays. (Closed)

Created:
3 years, 10 months ago by Daniel Erat
Modified:
3 years, 10 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, derat+watch_chromium.org, kylechar
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Disable calls to suspend and resume displays. To avoid crashes when suspending or resuming, make ash::PowerEventObserver skip calling DisplayConfigurator::SuspendDisplays or ResumeDisplays when running in mash. Once mus exposes this functionality, these calls should go through it instead. BUG=686938, 692193 Review-Url: https://codereview.chromium.org/2690263005 Cr-Commit-Position: refs/heads/master@{#450480} Committed: https://chromium.googlesource.com/chromium/src/+/2b892c8633d4e17894340683093748d229dcd3e7

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M ash/system/chromeos/power/power_event_observer.cc View 1 chunk +13 lines, -5 lines 2 comments Download

Messages

Total messages: 13 (8 generated)
Daniel Erat
this seems like the quickest path to avoid crashing during suspend/resume. i looked into adding ...
3 years, 10 months ago (2017-02-14 20:15:11 UTC) #4
James Cook
LGTM. This seems reasonable. https://codereview.chromium.org/2690263005/diff/1/ash/system/chromeos/power/power_event_observer.cc File ash/system/chromeos/power/power_event_observer.cc (right): https://codereview.chromium.org/2690263005/diff/1/ash/system/chromeos/power/power_event_observer.cc#newcode94 ash/system/chromeos/power/power_event_observer.cc:94: if (!screen_locked_ && delegate->ShouldLockScreenAutomatically() && ...
3 years, 10 months ago (2017-02-14 21:10:31 UTC) #5
Daniel Erat
https://codereview.chromium.org/2690263005/diff/1/ash/system/chromeos/power/power_event_observer.cc File ash/system/chromeos/power/power_event_observer.cc (right): https://codereview.chromium.org/2690263005/diff/1/ash/system/chromeos/power/power_event_observer.cc#newcode94 ash/system/chromeos/power/power_event_observer.cc:94: if (!screen_locked_ && delegate->ShouldLockScreenAutomatically() && On 2017/02/14 21:10:31, James ...
3 years, 10 months ago (2017-02-14 21:17:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690263005/1
3 years, 10 months ago (2017-02-14 21:18:27 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 21:26:05 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2b892c8633d4e178943406830937...

Powered by Google App Engine
This is Rietveld 408576698