summaryrefslogtreecommitdiff
authorYalong Liu <yalong.liu@amlogic.com>2017-03-07 11:11:08 (GMT)
committer Yalong Liu <yalong.liu@amlogic.com>2017-03-07 11:11:08 (GMT)
commit7f790774626a7563f4222c89e688990198ee5b4f (patch)
treeb3a84298f6e32e91ffdd9ebfff29120aa50d3939
parent0bdb136ad905d4a7c0586fdf82f2eca5440a44ec (diff)
downloadhwcomposer-7f790774626a7563f4222c89e688990198ee5b4f.zip
hwcomposer-7f790774626a7563f4222c89e688990198ee5b4f.tar.gz
hwcomposer-7f790774626a7563f4222c89e688990198ee5b4f.tar.bz2
PD#137956: offer proper dpi value
Change-Id: I278eca258886b52d681208e3c569303376000aa9
Diffstat
-rw-r--r--hwc2/common/utils/Utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/hwc2/common/utils/Utils.cpp b/hwc2/common/utils/Utils.cpp
index 89bad2a..53eed8d 100644
--- a/hwc2/common/utils/Utils.cpp
+++ b/hwc2/common/utils/Utils.cpp
@@ -202,9 +202,8 @@ bool Utils::checkVinfo(framebuffer_info_t *fbInfo) {
fbInfo->info.yres = vinfo.yres;
fbInfo->info.width = vinfo.width;
fbInfo->info.height = vinfo.height;
-
- return true;
}
+ return true;
}
return false;