Merge "Temporal fix of the Android Auto orientation chaniging on phone's orientation change." into rvc-dev am: 6c6d81a121 am: 2f8bead66d am: cb5b73717f
Change-Id: I394312a54f7f970226b43c685fe10be2259e3cae
This commit is contained in:
@@ -1121,7 +1121,9 @@ public class ResourcesManager {
|
||||
daj = new DisplayAdjustments(daj);
|
||||
daj.setCompatibilityInfo(compat);
|
||||
}
|
||||
daj.setConfiguration(config);
|
||||
if (displayId == Display.DEFAULT_DISPLAY) {
|
||||
daj.setConfiguration(config);
|
||||
}
|
||||
DisplayMetrics dm = getDisplayMetrics(displayId, daj);
|
||||
if (displayId != Display.DEFAULT_DISPLAY) {
|
||||
applyNonDefaultDisplayMetricsToConfiguration(dm, tmpConfig);
|
||||
|
||||
Reference in New Issue
Block a user