diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2012-01-08 18:48:18 +0530 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-03-29 09:41:14 +0200 |
commit | 4f32515e0c6b690986557d8421513d7347947974 (patch) | |
tree | e1bba7e700b2adaea3d5ae0d8caf4512ccbce6f3 | |
parent | 57f0b9067ab04530b3d72edae505650edd335cb5 (diff) | |
download | base-4f32515e0c6b690986557d8421513d7347947974.tar.gz |
core: return 1080P res for HDMI for panda
For panda the HDMI monitor is detected as mirrored display
and core/java/android/view/Display.java returns 720P
resolution which has been hardcoded for Galaxy Nexus
use case. Presently there is no logic of reading it
from HDMI. Changing the Hardcoded resolution to 1080P
for pandaboard.
Fixes the bug:
https://bugs.launchpad.net/linaro-android/+bug/908956
Change-Id: Id77a1c7928fd0ce4d4cd16039c1e7aff5faa3e69
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r-- | core/java/android/view/Display.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java index ad2283ea9285..f50452a01b0e 100644 --- a/core/java/android/view/Display.java +++ b/core/java/android/view/Display.java @@ -335,7 +335,7 @@ public class Display { * @hide */ public int getRawExternalWidth() { - return 1280; + return 1920; } /** @@ -344,7 +344,7 @@ public class Display { * @hide */ public int getRawExternalHeight() { - return 720; + return 1080; } /** |