Sync with new API to start HDCP
When SurfaceFlinger detects a secure surface, it can call this
api to inform HWC to start HDCP negotiations.
Bug: 369161085
Test: manual
Change-Id: Ifce48821ba32c35567d608064c977ecc08fdd5b7
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index ebe9a1c..8320997 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -1259,6 +1259,11 @@
return ToBinderStatus(hwc3::Error::kUnsupported);
}
+ndk::ScopedAStatus ComposerClient::startHdcpNegotiation(
+ int64_t /*display*/, const AidlHdcpLevels& /*levels*/) {
+ return ToBinderStatus(hwc3::Error::kUnsupported);
+}
+
#endif
std::string ComposerClient::Dump() {