aboutsummaryrefslogtreecommitdiff
path: root/system/hwc2/DisplayConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'system/hwc2/DisplayConfig.cpp')
-rw-r--r--system/hwc2/DisplayConfig.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/hwc2/DisplayConfig.cpp b/system/hwc2/DisplayConfig.cpp
index ee4cbb1e..abd0b89e 100644
--- a/system/hwc2/DisplayConfig.cpp
+++ b/system/hwc2/DisplayConfig.cpp
@@ -57,11 +57,13 @@ int32_t DisplayConfig::getAttribute(HWC2::Attribute attribute) const {
return mHeight;
}
if (attribute == HWC2::Attribute::DpiX) {
- // From hwcomposer2.h, HWC2_ATTRIBUTE_DPI_X returns "Dots per thousand inches (DPI * 1000)".
+ // From hwcomposer2.h, HWC2_ATTRIBUTE_DPI_X returns "Dots per thousand
+ // inches (DPI * 1000)".
return getDotsPerThousandInchesX();
}
if (attribute == HWC2::Attribute::DpiY) {
- // From hwcomposer2.h, HWC2_ATTRIBUTE_DPI_Y returns "Dots per thousand inches (DPI * 1000)"
+ // From hwcomposer2.h, HWC2_ATTRIBUTE_DPI_Y returns "Dots per thousand
+ // inches (DPI * 1000)"
return getDotsPerThousandInchesY();
}
if (attribute == HWC2::Attribute::VsyncPeriod) {