diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-12-16 16:37:39 -0800 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-12-18 16:25:29 -0800 |
| commit | 4c7cc34127efa3308e1a09b28728868911b79789 (patch) | |
| tree | b720c14dd1a5fdb52cc832101443740761585af0 /core/java/android/view/Display.java | |
| parent | fb1b2317aba98ae1ce82a3feef9de4a8b72e4bf1 (diff) | |
Demo hack!
To make a 800 tall screen run like a 720:
adb shell setprop persist.demo.screensizehack 800=720
Note this is a persistent property, so it will (intentionally) remain across boots.
Change-Id: I8a8a9f937399327444e8fb154b91f0e642db116e
Diffstat (limited to 'core/java/android/view/Display.java')
| -rw-r--r-- | core/java/android/view/Display.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java index 34d7935dd2f9..b74806486bf9 100644 --- a/core/java/android/view/Display.java +++ b/core/java/android/view/Display.java @@ -136,6 +136,11 @@ public class Display outMetrics.ydpi = mDpiY; } + /** + * @hide Helper for our fake display size hack. + */ + native public static int unmapDisplaySize(int newSize); + /* * We use a class initializer to allow the native code to cache some * field offsets. |
