summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorMitsuru Oshima <oshima@google.com>2009-06-09 21:16:08 -0700
committerMitsuru Oshima <oshima@google.com>2009-06-10 15:22:17 -0700
commite5fb328825995aa33b5b7ecf8b5bee2b17f81715 (patch)
tree4b6ca87aaf21dd587e1d033f5ba3318c4329698f /core/java/android/provider
parentca436e24dec0fa258a8a756c3e7d07bcb096c5b3 (diff)
downloadframeworks_base-e5fb328825995aa33b5b7ecf8b5bee2b17f81715.zip
frameworks_base-e5fb328825995aa33b5b7ecf8b5bee2b17f81715.tar.gz
frameworks_base-e5fb328825995aa33b5b7ecf8b5bee2b17f81715.tar.bz2
resolution support fix/improvement
* adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I'll add sdk check later. * disallow to catch orientation change event if the app is not expandable. This was causing layout problem under non-expandable mode. I discussed this with Mike C and we agreed to do this approach for now. We'll revisit if this causes problem to a lot of applications.
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 52cec22..c2da593 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1025,6 +1025,14 @@ public final class Settings {
public static final String SCREEN_OFF_TIMEOUT = "screen_off_timeout";
/**
+ * If 0, the compatibility mode is off for all applications.
+ * If 1, older applications run under compatibility mode.
+ * TODO: remove this settings before code freeze (bug/1907571)
+ * @hide
+ */
+ public static final String COMPATIBILITY_MODE = "compatibility_mode";
+
+ /**
* The screen backlight brightness between 0 and 255.
*/
public static final String SCREEN_BRIGHTNESS = "screen_brightness";