summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2022-03-01 23:09:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-03-01 23:09:00 +0000
commitc67d83ad3dc4b7da3c3d01d289f0bb646392d4a9 (patch)
tree13cd39666c01994ee9f2b0558c7c390bd88da244 /hwc3/impl/HalImpl.cpp
parent0f7f59df363e5fedfcb7e8f96914da10a3f4e85f (diff)
parentbd50b213b5df6bdf92fc0eb7225df92e5dbcbc9b (diff)
Merge "hwc3: return OK for getDisplayPhysicalOrientation" into tm-dev
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index e2be900..1029fe8 100644
--- a/hwc3/impl/HalImpl.cpp
+++ b/hwc3/impl/HalImpl.cpp
@@ -414,7 +414,7 @@ int32_t HalImpl::getDisplayPhysicalOrientation(int64_t display,
RET_IF_ERR(halDisplay->getMountOrientation(&hwcOrientation));
h2a::translate(hwcOrientation, *orientation);
- return HWC2_ERROR_UNSUPPORTED;
+ return HWC2_ERROR_NONE;
}
int32_t HalImpl::getDozeSupport(int64_t display, bool& support) {