Commit b7f74552 authored by Tetsui Ohkubo's avatar Tetsui Ohkubo Committed by Commit Bot

Close UnifiedSystemTray on settings button click.

We should explicitly close UnifiedSystemTray when the settings button is
clicked.

TEST=manual
BUG=853610

Change-Id: I029396b33a3bdde0d64e5b89a01c53ba38e72f96
Reviewed-on: https://chromium-review.googlesource.com/1103436Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568324}
parent fd57fd67
...@@ -120,6 +120,7 @@ void UnifiedSystemTrayController::HandleLockAction() { ...@@ -120,6 +120,7 @@ void UnifiedSystemTrayController::HandleLockAction() {
void UnifiedSystemTrayController::HandleSettingsAction() { void UnifiedSystemTrayController::HandleSettingsAction() {
Shell::Get()->metrics()->RecordUserMetricsAction(UMA_TRAY_SETTINGS); Shell::Get()->metrics()->RecordUserMetricsAction(UMA_TRAY_SETTINGS);
Shell::Get()->system_tray_controller()->ShowSettings(); Shell::Get()->system_tray_controller()->ShowSettings();
CloseBubble();
} }
void UnifiedSystemTrayController::HandlePowerAction() { void UnifiedSystemTrayController::HandlePowerAction() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment