diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-01-13 21:08:27 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-01-13 21:18:16 -0800 |
commit | b09abc1dd271d0eb4ba4050d8bf9670802a7d0fe (patch) | |
tree | 7988cad20c9d4851ec35c9e5f7c86c341f90023f /services/java/com/android/server/InputManager.java | |
parent | 00ae87d4fd853dd3be9d8820715a98bd72887176 (diff) |
Add volume down as a safe mode key for Stingray.
Fixed a race condition during startup. We need to wait for the input
devices to actually be ready before trying to detect safe mode.
Fixed a problem during safe mode activation where we would try to add
the overlay window but the display was not initialized. Now we do it
after the system is ready.
Bug: 3134825
Change-Id: I4c043c142ae6bf0d865c79d266d36154eaf00709
Diffstat (limited to 'services/java/com/android/server/InputManager.java')
-rw-r--r-- | services/java/com/android/server/InputManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/InputManager.java b/services/java/com/android/server/InputManager.java index 5c2048bd81f4..718d4fc8fa13 100644 --- a/services/java/com/android/server/InputManager.java +++ b/services/java/com/android/server/InputManager.java @@ -423,7 +423,7 @@ public class InputManager { @SuppressWarnings("unused") public void notifyConfigurationChanged(long whenNanos) { - mWindowManagerService.sendNewConfiguration(); + mWindowManagerService.mInputMonitor.notifyConfigurationChanged(); } @SuppressWarnings("unused") |