summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-04 18:59:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-04 18:59:10 -0700
commit7ebda6f110708bdb704f8700a6b3473249b12baf (patch)
treed4e79de27e57c377bbf1fbdab245e4de17d6bcf4 /core/java
parent2f1b422dc8d30da19dfc51911261d92ccccd9edd (diff)
parent2f5e6b2d31f445a4e9faf3a7ace94f9ef6948336 (diff)
downloadframeworks_base-7ebda6f110708bdb704f8700a6b3473249b12baf.zip
frameworks_base-7ebda6f110708bdb704f8700a6b3473249b12baf.tar.gz
frameworks_base-7ebda6f110708bdb704f8700a6b3473249b12baf.tar.bz2
Merge change 3265 into donut
* changes: 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;