diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-07-03 16:04:23 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-03 16:04:23 -0700 |
commit | 1795dbfc9f3aaf73504a313463591a631b0057cb (patch) | |
tree | bcefae22eaab074a353665160e3d3833836d04e3 /sdm | |
parent | 02c6a1813930f1b74b4304e46a355cd53e25ca64 (diff) | |
parent | 34a88c3e469a235d1a2741c3135f87dd0bb1b9b5 (diff) | |
download | android_hardware_qcom_sdm710_display-1795dbfc9f3aaf73504a313463591a631b0057cb.tar.gz android_hardware_qcom_sdm710_display-1795dbfc9f3aaf73504a313463591a631b0057cb.tar.bz2 android_hardware_qcom_sdm710_display-1795dbfc9f3aaf73504a313463591a631b0057cb.zip |
Merge "sdm: drm: Remove special handling for first_cycle"
Diffstat (limited to 'sdm')
-rw-r--r-- | sdm/libs/core/color_manager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sdm/libs/core/color_manager.cpp b/sdm/libs/core/color_manager.cpp index 694aadad..d30918ca 100644 --- a/sdm/libs/core/color_manager.cpp +++ b/sdm/libs/core/color_manager.cpp @@ -180,12 +180,6 @@ bool ColorManagerProxy::NeedsPartialUpdateDisable() { } DisplayError ColorManagerProxy::Commit() { - static bool first_cycle = true; - if (first_cycle) { - first_cycle = false; - return kErrorNone; - } - Locker &locker(pp_features_.GetLocker()); SCOPE_LOCK(locker); |