summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-14 21:21:52 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-14 21:21:52 -0700
commit8d37426c754e9822feaa8c6cc0b7c13e8523e217 (patch)
tree188470dc3254756b9a6bc345f9cf39171a6b3725 /core/java/android/os
parent83fe3f559249451706957b1a5f660b2b8272f114 (diff)
downloadframeworks_base-8d37426c754e9822feaa8c6cc0b7c13e8523e217.zip
frameworks_base-8d37426c754e9822feaa8c6cc0b7c13e8523e217.tar.gz
frameworks_base-8d37426c754e9822feaa8c6cc0b7c13e8523e217.tar.bz2
Various fixed for back key handling.
My last change was far from perfect. Hopefully this gets us a little closer. Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/Build.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 6c2a27a..b4778fe 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -143,6 +143,9 @@ public class Build {
* Service.onStartCommand} function will return the new
* {@link android.app.Service#START_STICKY} behavior instead of the
* old compatibility {@link android.app.Service#START_STICKY_COMPATIBILITY}.
+ * <li> The {@link android.app.Activity} class will now execute back
+ * key presses on the key up instead of key down, to be able to detect
+ * canceled presses from virtual keys.
* </ul>
*/
public static final int ECLAIR = CUR_DEVELOPMENT;