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

Commit 2f5e6b2d authored by Mitsuru Oshima's avatar Mitsuru Oshima
Browse files

A workaround to fix rotation issue. I'm remote now and hard to do...

A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
parent 54de9063
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;