diff options
author | Alec Mouri <alecmouri@google.com> | 2021-12-21 17:43:11 -0800 |
---|---|---|
committer | Alec Mouri <alecmouri@google.com> | 2022-01-10 10:19:42 -0800 |
commit | b1d95bc1041c4fabd9e8ba11a46590b174ba002d (patch) | |
tree | ff73c020e4a5060cff2a1e520260422f43d0bf27 /hwc3/ComposerClient.cpp | |
parent | 6bf7e1132ab41883159a0906ea4f93fa39b1b8c3 (diff) |
HWC3 adjustments for display brightness
Specifically, WhitePointNits is has been renamed to Luminance and there
is now a DisplayBrightness payload, so the AIDL includes need to be
changed and the old setDisplayBrightness method should be removed.
Bug: 210151839
Test: builds
Change-Id: Ibf12337b0b9115ea765279676f8f98c8171fb65a
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r-- | hwc3/ComposerClient.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp index 60c2a5a..45f9746 100644 --- a/hwc3/ComposerClient.cpp +++ b/hwc3/ComposerClient.cpp @@ -317,12 +317,6 @@ ndk::ScopedAStatus ComposerClient::setContentType(int64_t display, ContentType t return TO_BINDER_STATUS(err); } -ndk::ScopedAStatus ComposerClient::setDisplayBrightness(int64_t display, float brightness) { - DEBUG_FUNC(); - auto err = mHal->setDisplayBrightness(display, brightness); - return TO_BINDER_STATUS(err); -} - ndk::ScopedAStatus ComposerClient::setDisplayedContentSamplingEnabled( int64_t display, bool enable, FormatColorComponent componentMask, int64_t maxFrames) { DEBUG_FUNC(); |