summaryrefslogtreecommitdiff
path: root/hwc3
diff options
context:
space:
mode:
authorLong Ling <longling@google.com>2022-03-01 09:30:21 -0800
committerLong Ling <longling@google.com>2022-03-01 09:30:21 -0800
commitbd50b213b5df6bdf92fc0eb7225df92e5dbcbc9b (patch)
tree2a5da5fea8a35eb46563d2027b94f7567fc1e911 /hwc3
parent35f4247980a160118b1ae849fa5ac65f55393088 (diff)
hwc3: return OK for getDisplayPhysicalOrientation
Bug: 221885596 Test: atest PerInstance/GraphicsComposerAidlTest#GetDisplayPhysicalOrientation/0_android_hardware_graphics_composer3_IComposer_default Change-Id: I91d4a42f92e9d41573a1ad2b75c7be28c170141c
Diffstat (limited to 'hwc3')
-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 8da3c0e..f70457f 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) {