A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)

This commit is contained in:
Mitsuru Oshima
2009-06-04 18:06:27 -07:00
parent 54de90635e
commit 2f5e6b2d31

View File

@@ -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;