Merge "Temporal fix of the Android Auto orientation chaniging on phone's orientation change." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6c6d81a121
@@ -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