diff options
author | Yiwei Zhang <zzyiwei@google.com> | 2018-08-23 17:24:55 -0700 |
---|---|---|
committer | Yiwei Zhang <zzyiwei@google.com> | 2018-08-23 17:24:55 -0700 |
commit | 2c2bfc33f00703fc1ad33a2684a2fa8a18db720a (patch) | |
tree | 117f554820bb7e25141c62d20867a846d93f7902 /libs/hwui/DeviceInfo.cpp | |
parent | ed72380fac1145a53395dbba8cb9969967a04f2f (diff) |
Update the initialize list for DisplayInfo
Bug: b/113041831
Test: build
Change-Id: I2a6468e55137834c9215ca9410b00e2dbba6ee87
Diffstat (limited to 'libs/hwui/DeviceInfo.cpp')
-rw-r--r-- | libs/hwui/DeviceInfo.cpp | 2 |
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; |