From b173f7599a8f93786342d27167facf7eae02845e Mon Sep 17 00:00:00 2001 From: Marin Shalamanov Date: Tue, 16 Feb 2021 19:38:36 +0100 Subject: SF: Move ALLM and GameContentType to DynamicDisplayInfo ALLM and Game content type support may change after a hotplug, for that reason we move them to DynamicDisplayInfo. Bug: 180108954 Test: flash a device and manually test that the values are properly piped to DisplayManager Change-Id: I05810c620b241e204d2c01618bb8a4069c41d32d --- libs/gui/SurfaceComposerClient.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libs/gui/SurfaceComposerClient.cpp') diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 0bd2c8811b..f78c12e61e 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1876,22 +1876,10 @@ status_t SurfaceComposerClient::setActiveColorMode(const sp& display, return ComposerService::getComposerService()->setActiveColorMode(display, colorMode); } -bool SurfaceComposerClient::getAutoLowLatencyModeSupport(const sp& display) { - bool supported = false; - ComposerService::getComposerService()->getAutoLowLatencyModeSupport(display, &supported); - return supported; -} - void SurfaceComposerClient::setAutoLowLatencyMode(const sp& display, bool on) { ComposerService::getComposerService()->setAutoLowLatencyMode(display, on); } -bool SurfaceComposerClient::getGameContentTypeSupport(const sp& display) { - bool supported = false; - ComposerService::getComposerService()->getGameContentTypeSupport(display, &supported); - return supported; -} - void SurfaceComposerClient::setGameContentType(const sp& display, bool on) { ComposerService::getComposerService()->setGameContentType(display, on); } -- cgit v1.2.3-59-g8ed1b