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

Commit 0858d08a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix regression with defaultDisplay adjustments" into nyc-mr1-dev

parents 52af7e07 f02523bf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -850,7 +850,10 @@ public class ResourcesManager {
                            daj.setCompatibilityInfo(compat);
                        }
                        dm = getDisplayMetrics(displayId, daj);

                        if (!isDefaultDisplay) {
                            applyNonDefaultDisplayMetricsToConfiguration(dm, tmpConfig);
                        }

                        if (hasOverrideConfiguration) {
                            tmpConfig.updateFrom(key.mOverrideConfiguration);