Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7805835e authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 7ebda6f1: Merge change 3265 into donut

Merge commit '7ebda6f1'

* commit '7ebda6f1':
  A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
parents cc784e32 7ebda6f1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;