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

Commit 2f8bead6 authored by Darryl Johnson's avatar Darryl Johnson Committed by Automerger Merge Worker
Browse files

Merge "Temporal fix of the Android Auto orientation chaniging on phone's...

Merge "Temporal fix of the Android Auto orientation chaniging on phone's orientation change." into rvc-dev am: 6c6d81a1

Change-Id: Ic4868b1e27ce6086664c3d0d37214d30804a52d1
parents d3aeeced 6c6d81a1
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -1121,7 +1121,9 @@ public class ResourcesManager {
            daj = new DisplayAdjustments(daj);
            daj = new DisplayAdjustments(daj);
            daj.setCompatibilityInfo(compat);
            daj.setCompatibilityInfo(compat);
        }
        }
        if (displayId == Display.DEFAULT_DISPLAY) {
            daj.setConfiguration(config);
            daj.setConfiguration(config);
        }
        DisplayMetrics dm = getDisplayMetrics(displayId, daj);
        DisplayMetrics dm = getDisplayMetrics(displayId, daj);
        if (displayId != Display.DEFAULT_DISPLAY) {
        if (displayId != Display.DEFAULT_DISPLAY) {
            applyNonDefaultDisplayMetricsToConfiguration(dm, tmpConfig);
            applyNonDefaultDisplayMetricsToConfiguration(dm, tmpConfig);