summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTharaga Balachandran <quic_tbalacha@quicinc.com>2019-06-13 14:31:21 -0400
committerPeter Lin <linpeter@google.com>2020-01-14 11:36:50 +0000
commitb893cc4ab7f3f471b391e6081085f094db3a9bee (patch)
tree3c5a7145af191ff3a09c2667d19e3ccfcabc433a
parent8bef3a420db17c013233de38b94785c9246efed6 (diff)
downloaddisplay-b893cc4ab7f3f471b391e6081085f094db3a9bee.tar.gz
sdm: Apply features during first cycle
Bug: 143514146 Test: check the color of boot animation Change-Id: Ide0d4a1c837ed35c1563d63084e03685dfa238df
-rw-r--r--sdm/libs/core/color_manager.cpp4
-rw-r--r--sdm/libs/core/color_manager.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/sdm/libs/core/color_manager.cpp b/sdm/libs/core/color_manager.cpp
index fe425560..248e1d09 100644
--- a/sdm/libs/core/color_manager.cpp
+++ b/sdm/libs/core/color_manager.cpp
@@ -176,10 +176,6 @@ bool ColorManagerProxy::NeedsPartialUpdateDisable() {
}
DisplayError ColorManagerProxy::Commit() {
- if (first_cycle_) {
- first_cycle_ = false;
- return kErrorNone;
- }
Locker &locker(pp_features_.GetLocker());
SCOPE_LOCK(locker);
diff --git a/sdm/libs/core/color_manager.h b/sdm/libs/core/color_manager.h
index 5b604b72..7046aa56 100644
--- a/sdm/libs/core/color_manager.h
+++ b/sdm/libs/core/color_manager.h
@@ -87,7 +87,6 @@ class ColorManagerProxy {
static HWResourceInfo hw_res_info_;
int32_t display_id_;
- bool first_cycle_ = true;
DisplayType device_type_;
PPHWAttributes pp_hw_attributes_;
HWInterface *hw_intf_;