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..)
This commit is contained in:
@@ -62,7 +62,9 @@ public class CompatibilityInfo {
|
|||||||
public final boolean mScalingRequired;
|
public final boolean mScalingRequired;
|
||||||
|
|
||||||
public CompatibilityInfo(ApplicationInfo appInfo) {
|
public CompatibilityInfo(ApplicationInfo appInfo) {
|
||||||
mExpandable = appInfo.expandable;
|
// A temp workaround to fix rotation issue.
|
||||||
|
// mExpandable = appInfo.expandable;
|
||||||
|
mExpandable = true;
|
||||||
float packageDensityScale = -1.0f;
|
float packageDensityScale = -1.0f;
|
||||||
if (appInfo.supportsDensities != null) {
|
if (appInfo.supportsDensities != null) {
|
||||||
int minDiff = Integer.MAX_VALUE;
|
int minDiff = Integer.MAX_VALUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user