summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorMitsuru Oshima <oshima@google.com>2009-06-04 18:06:27 -0700
committerMitsuru Oshima <oshima@google.com>2009-06-04 18:06:27 -0700
commit2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336 (patch)
treef36b7d713e4592157e423e5cde631c1e6d016726 /core/java
parent54de90635e1d0628c396d65e6c948bf4a1529229 (diff)
downloadframeworks_base-2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336.zip
frameworks_base-2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336.tar.gz
frameworks_base-2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336.tar.bz2
A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/res/CompatibilityInfo.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/content/res/CompatibilityInfo.java b/core/java/android/content/res/CompatibilityInfo.java
index 8a6a6f0..19379fb 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;