commit | cda48700d5f79e974da80b37adefda54ed624ba1 | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Thu Apr 20 04:05:31 2023 +0300 |
committer | Michael Bestas <mkbestas@lineageos.org> | Thu Apr 20 04:05:31 2023 +0300 |
tree | 2e2c7958b98972adc1e4657ce4f8da46a45fbb27 | |
parent | 2fb0b1ca0dda98a4265c4cc4078f742515eee219 [diff] | |
parent | 6a9c1cdbf14456e2578532db487f9d31311fc5ae [diff] |
Merge tag 'LA.UM.9.12.r1-13800-SMxx50.0' of https://gitlab.com/codeaurora-mirror/quic/la/platform/hardware/qcom/display into lineage-20.0-caf-sm8250 "LA.UM.9.12.r1-13800-SMxx50.0" # By lliu6 # Via Linux Build Service Account (1) and lliu6 (1) * tag 'LA.UM.9.12.r1-13800-SMxx50.0' of https://gitlab.com/codeaurora-mirror/quic/la/platform/hardware/qcom/display: sdm: Clear cached panel brightness settings Change-Id: I7a8d63a269d3ff9970a166d3f996500076655c37
diff --git a/sdm/libs/core/display_builtin.cpp b/sdm/libs/core/display_builtin.cpp index b4628aa..75a5046 100644 --- a/sdm/libs/core/display_builtin.cpp +++ b/sdm/libs/core/display_builtin.cpp
@@ -565,6 +565,7 @@ DisplayError err = hw_intf_->SetPanelBrightness(level); if (err == kErrorNone) { level_remainder_ = level_remainder; + pending_brightness_ = false; DLOGI_IF(kTagDisplay, "Setting brightness to level %d (%f percent)", level, brightness * 100); } else if (err == kErrorDeferred) {