diff options
| author | 2021-02-16 19:38:36 +0100 | |
|---|---|---|
| committer | 2021-02-23 13:13:58 +0100 | |
| commit | b173f7599a8f93786342d27167facf7eae02845e (patch) | |
| tree | f13d93cfb55b70020880b458b778df40d219ab89 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 228f46b5b9c3eac674aceb579a718cd459165f2e (diff) | |
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
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<IBinder>& display, return ComposerService::getComposerService()->setActiveColorMode(display, colorMode); } -bool SurfaceComposerClient::getAutoLowLatencyModeSupport(const sp<IBinder>& display) { - bool supported = false; - ComposerService::getComposerService()->getAutoLowLatencyModeSupport(display, &supported); - return supported; -} - void SurfaceComposerClient::setAutoLowLatencyMode(const sp<IBinder>& display, bool on) { ComposerService::getComposerService()->setAutoLowLatencyMode(display, on); } -bool SurfaceComposerClient::getGameContentTypeSupport(const sp<IBinder>& display) { - bool supported = false; - ComposerService::getComposerService()->getGameContentTypeSupport(display, &supported); - return supported; -} - void SurfaceComposerClient::setGameContentType(const sp<IBinder>& display, bool on) { ComposerService::getComposerService()->setGameContentType(display, on); } |