summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-08-30 19:08:10 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-08-30 19:08:10 +0000
commitbb66334058d26ddd76ff5374332ca43e67190514 (patch)
treeba41ec2c377ca6db92303f8d606a31e753b00767
parente6cfb09cc4938078d14b1b4abca1678ac8fb170c (diff)
parent2c2bfc33f00703fc1ad33a2684a2fa8a18db720a (diff)
Merge "Update the initialize list for DisplayInfo"
-rw-r--r--libs/hwui/DeviceInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/DeviceInfo.cpp b/libs/hwui/DeviceInfo.cpp
index 10fcee88a995..a43f58cd1e56 100644
--- a/libs/hwui/DeviceInfo.cpp
+++ b/libs/hwui/DeviceInfo.cpp
@@ -42,6 +42,8 @@ static constexpr android::DisplayInfo sDummyDisplay{
false, // secure?
0, // appVsyncOffset
0, // presentationDeadline
+ 1080, // viewportW
+ 1920, // viewportH
};
static DeviceInfo* sDeviceInfo = nullptr;