Index: ash/system/audio/tray_audio.cc |
diff --git a/ash/system/audio/tray_audio.cc b/ash/system/audio/tray_audio.cc |
index 21c2163c4d5606e2b2d098259490b23748710ede..aab719db2cbcd638d60bbc556f63d43b20a11c67 100644 |
--- a/ash/system/audio/tray_audio.cc |
+++ b/ash/system/audio/tray_audio.cc |
@@ -167,8 +167,10 @@ void TrayAudio::ChangeInternalSpeakerChannelMode() { |
const DisplayInfo& display_info = |
Shell::GetInstance()->display_manager()->GetDisplayInfo( |
gfx::Display::InternalDisplayId()); |
- if (display_info.rotation() == gfx::Display::ROTATE_180) |
+ if (display_info.Rotation(gfx::Display::ROTATION_SOURCE_ACTIVE) == |
+ gfx::Display::ROTATE_180) { |
channel_mode = system::TrayAudioDelegate::LEFT_RIGHT_SWAPPED; |
+ } |
} |
audio_delegate_->SetInternalSpeakerChannelMode(channel_mode); |