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

Unified Diff: ash/common/system/chromeos/audio/tray_audio_chromeos.cc

Issue 2343973002: Fix speaker flipping issue when the device rotates. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/tray_audio_chromeos.cc
diff --git a/ash/common/system/chromeos/audio/tray_audio_chromeos.cc b/ash/common/system/chromeos/audio/tray_audio_chromeos.cc
index 7bae4ce79ed93c8eba93f6d39b36439133aed402..c54101122aa7d1a770d3e9117fda224427cce907 100644
--- a/ash/common/system/chromeos/audio/tray_audio_chromeos.cc
+++ b/ash/common/system/chromeos/audio/tray_audio_chromeos.cc
@@ -78,6 +78,8 @@ void TrayAudioChromeOs::OnDisplayRemoved(const display::Display& old_display) {
void TrayAudioChromeOs::OnDisplayMetricsChanged(const display::Display& display,
uint32_t changed_metrics) {
+ TrayAudio::OnDisplayMetricsChanged(display, changed_metrics);
+
// The event could be triggered multiple times during the HDMI display
// transition, we don't need to restart HDMI re-discovering grace period
// it is already started earlier.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698