commit | fe4ad335d80960233022cc2cab79338f5d327582 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue Jun 09 18:26:31 2015 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue Jun 09 19:52:23 2015 -0700 |
tree | 06e6434f04f3301879639c32afa8fcacfd732927 | |
parent | 5b7793cacf3910a386182a9b78460934d00dfdae [diff] [blame] |
Support 4K overlay displays. Bug: 18241736 Change-Id: Ibd479f2ea47ed49a507e7265bdce83afc214b19c
diff --git a/services/core/java/com/android/server/display/LogicalDisplay.java b/services/core/java/com/android/server/display/LogicalDisplay.java index 4823769..6efc99a 100644 --- a/services/core/java/com/android/server/display/LogicalDisplay.java +++ b/services/core/java/com/android/server/display/LogicalDisplay.java
@@ -133,6 +133,8 @@ mInfo.overscanBottom = mOverrideDisplayInfo.overscanBottom; mInfo.rotation = mOverrideDisplayInfo.rotation; mInfo.logicalDensityDpi = mOverrideDisplayInfo.logicalDensityDpi; + mInfo.physicalXDpi = mOverrideDisplayInfo.physicalXDpi; + mInfo.physicalYDpi = mOverrideDisplayInfo.physicalYDpi; } } return mInfo;