summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-06-14 20:57:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-06-14 20:57:15 -0700
commit7f8d2a63e05cfe2d132ea0db482c9727673ccdd4 (patch)
treeecfb4be427df89572b0ed1f1247a39190eaed924
parentc4753a7ff23be13859a3b645410c9da241ffbaad (diff)
parentca2832bc60b986db245ced0e4a2b8a77d4982f32 (diff)
downloadframeworks_base-7f8d2a63e05cfe2d132ea0db482c9727673ccdd4.zip
frameworks_base-7f8d2a63e05cfe2d132ea0db482c9727673ccdd4.tar.gz
frameworks_base-7f8d2a63e05cfe2d132ea0db482c9727673ccdd4.tar.bz2
am ca2832bc: am 027e9e28: am 4e04380d: Merge "Fix issue #4592768: Xoom display does not resize when..." into honeycomb-mr2
* commit 'ca2832bc60b986db245ced0e4a2b8a77d4982f32': Fix issue #4592768: Xoom display does not resize when...
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/HeightReceiver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HeightReceiver.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HeightReceiver.java
index 9924faa..7f4c918 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HeightReceiver.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HeightReceiver.java
@@ -76,7 +76,7 @@ public class HeightReceiver extends BroadcastReceiver {
int height = -1;
if (plugged) {
final DisplayMetrics metrics = new DisplayMetrics();
- mWindowManager.getDefaultDisplay().getMetrics(metrics);
+ mWindowManager.getDefaultDisplay().getRealMetrics(metrics);
//Slog.i(TAG, "setPlugged: display metrics=" + metrics);
final int shortSide = Math.min(metrics.widthPixels, metrics.heightPixels);
height = shortSide - 720;