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

Commit 59beefe7 authored by Yuncheol Heo's avatar Yuncheol Heo
Browse files

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

Bug: 149213586
Test: Connect the phone to Android Auto car and open Chrome and rotate the phone.
Change-Id: I7e76904ee8a50b9a9db4e99b6adcdb4b70d42fdb
parent 87a59b2d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1120,7 +1120,9 @@ public class ResourcesManager {
            daj = new DisplayAdjustments(daj);
            daj.setCompatibilityInfo(compat);
        }
        if (displayId == Display.DEFAULT_DISPLAY) {
            daj.setConfiguration(config);
        }
        DisplayMetrics dm = getDisplayMetrics(displayId, daj);
        if (displayId != Display.DEFAULT_DISPLAY) {
            applyNonDefaultDisplayMetricsToConfiguration(dm, tmpConfig);