Merge "Temporal fix of the Android Auto orientation chaniging on phone's orientation change." into rvc-dev am: 6c6d81a121
Change-Id: Ic4868b1e27ce6086664c3d0d37214d30804a52d1
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