From 2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336 Mon Sep 17 00:00:00 2001 From: Mitsuru Oshima Date: Thu, 4 Jun 2009 18:06:27 -0700 Subject: [PATCH] A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..) --- core/java/android/content/res/CompatibilityInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/content/res/CompatibilityInfo.java b/core/java/android/content/res/CompatibilityInfo.java index 8a6a6f0390d21..19379fbd2d0c8 100644 --- a/core/java/android/content/res/CompatibilityInfo.java +++ b/core/java/android/content/res/CompatibilityInfo.java @@ -62,7 +62,9 @@ public class CompatibilityInfo { public final boolean mScalingRequired; public CompatibilityInfo(ApplicationInfo appInfo) { - mExpandable = appInfo.expandable; + // A temp workaround to fix rotation issue. + // mExpandable = appInfo.expandable; + mExpandable = true; float packageDensityScale = -1.0f; if (appInfo.supportsDensities != null) { int minDiff = Integer.MAX_VALUE;