Index: ash/aura/wm_shell_aura.cc |
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc |
index 1d99a96a81f487c382500c5864e004655cae1da0..1d27a92fcd70393081701550212cfe248153b724 100644 |
--- a/ash/aura/wm_shell_aura.cc |
+++ b/ash/aura/wm_shell_aura.cc |
@@ -318,6 +318,15 @@ void WmShellAura::OnAttemptToReactivateWindow(aura::Window* request_active, |
} |
} |
+void WmShellAura::SessionStateChanged(session_manager::SessionState state) { |
+ // Create the shelf if necessary. |
+ WmShell::SessionStateChanged(state); |
+ |
+ // Recreate the keyboard after initial login and after multiprofile login. |
+ if (state == session_manager::SessionState::ACTIVE) |
+ Shell::GetInstance()->CreateKeyboard(); |
+} |
+ |
void WmShellAura::OnDisplayConfigurationChanging() { |
for (auto& observer : display_observers_) |
observer.OnDisplayConfigurationChanging(); |