Snap for 12623742 from e1d49f1aadcf897085a52bb1b9b524df025fca6d to 25Q1-release
Change-Id: I0a3d416fd02dc0a1aaf666e0e959e4760ed6a113
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index ebe9a1c..0266197 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -1261,6 +1261,10 @@
#endif
+ndk::ScopedAStatus ComposerClient::getMaxLayerPictureProfiles(int64_t, int32_t*) {
+ return ToBinderStatus(hwc3::Error::kUnsupported);
+}
+
std::string ComposerClient::Dump() {
uint32_t size = 0;
hwc_->Dump(&size, nullptr);
diff --git a/hwc3/ComposerClient.h b/hwc3/ComposerClient.h
index 91a0be0..45f0a4c 100644
--- a/hwc3/ComposerClient.h
+++ b/hwc3/ComposerClient.h
@@ -152,6 +152,9 @@
#endif
+ ndk::ScopedAStatus getMaxLayerPictureProfiles(
+ int64_t display, int32_t* maxProfiles) override;
+
protected:
::ndk::SpAIBinder createBinder() override;