summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-28 18:11:28 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-28 18:11:28 -0400
commitebd45e5ca9690110ecb50c26b0b791054ee4c0ef (patch)
tree08a05a290e2e4a8cdb4f713675ef7c137c5e8b41 /core/java/android/view
parentfe81d386a818b386ffc0d5a789236531ab4e264f (diff)
parent6af0d50a8edb101d9da1306b6d85abf5dd3f9a30 (diff)
downloadframeworks_base-ebd45e5ca9690110ecb50c26b0b791054ee4c0ef.zip
frameworks_base-ebd45e5ca9690110ecb50c26b0b791054ee4c0ef.tar.gz
frameworks_base-ebd45e5ca9690110ecb50c26b0b791054ee4c0ef.tar.bz2
Merge change I55edce63 into eclair
* changes: Fix issue #2149145: Safe Mode does not work on Sholes device
Diffstat (limited to 'core/java/android/view')
-rw-r--r--core/java/android/view/HapticFeedbackConstants.java12
-rw-r--r--core/java/android/view/WindowManagerPolicy.java2
2 files changed, 13 insertions, 1 deletions
diff --git a/core/java/android/view/HapticFeedbackConstants.java b/core/java/android/view/HapticFeedbackConstants.java
index f936f65..e1f2823 100644
--- a/core/java/android/view/HapticFeedbackConstants.java
+++ b/core/java/android/view/HapticFeedbackConstants.java
@@ -36,6 +36,18 @@ public class HapticFeedbackConstants {
public static final int VIRTUAL_KEY = 1;
/**
+ * This is a private constant. Feel free to renumber as desired.
+ * @hide
+ */
+ public static final int SAFE_MODE_DISABLED = 10000;
+
+ /**
+ * This is a private constant. Feel free to renumber as desired.
+ * @hide
+ */
+ public static final int SAFE_MODE_ENABLED = 10001;
+
+ /**
* Flag for {@link View#performHapticFeedback(int, int)
* View.performHapticFeedback(int, int)}: Ignore the setting in the
* view for whether to perform haptic feedback, do it always.
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();