ANDROID: Add unsupported stubs for IComposerClient getMaxLayerPictureProfiles
Bug: 337330263
Test: build
Change-Id: I8623aee6d2f09bf8abeb8ad66de1186346fd5bb6
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;