summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/WindowManagerPolicy.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-28 13:25:46 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-28 13:40:45 -0700
commit6af0d50a8edb101d9da1306b6d85abf5dd3f9a30 (patch)
tree0680cd7ce5f407446a1b5d50095deada73d2e508 /core/java/android/view/WindowManagerPolicy.java
parentaef439e6f825c0cb99a2ac08c8207f48b7a9fe10 (diff)
downloadframeworks_base-6af0d50a8edb101d9da1306b6d85abf5dd3f9a30.zip
frameworks_base-6af0d50a8edb101d9da1306b6d85abf5dd3f9a30.tar.gz
frameworks_base-6af0d50a8edb101d9da1306b6d85abf5dd3f9a30.tar.bz2
Fix issue #2149145: Safe Mode does not work on Sholes device
The APIs for checking whether keys are held down now also look at virtual keys. However it turns out there is less than a second between the time we start the input thread and check for safe mode, so there is not enough time to actually open all of the devices and get the data from them about the finger being down to determine if a virtual key is down. So now you can also hold DPAD center, trackball center, or s to enter safe mode. Also give some vibrator feedback. Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
Diffstat (limited to 'core/java/android/view/WindowManagerPolicy.java')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index b3125b2..78999fa 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -813,7 +813,7 @@ public interface WindowManagerPolicy {
boolean displayEnabled);
/**
- * Called when the system is mostly done booting to dentermine whether
+ * Called when the system is mostly done booting to determine whether
* the system should go into safe mode.
*/
public boolean detectSafeMode();