summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMidas Chien <midaschieh@google.com>2022-05-12 23:16:17 +0800
committerMidas Chien <midaschieh@google.com>2022-05-12 15:26:04 +0000
commitfab42f82da71f39eff7f1034db30d6cf2371aee7 (patch)
treeee9a9717e0a06408a96ed53b577525f82854a01c
parent693046fd4b0a97edfff6cf88b5f3f16b338d39ff (diff)
downloadgs101-fab42f82da71f39eff7f1034db30d6cf2371aee7.tar.gz
libhwc2.1: rename invalidate() to onRefresh()
Bug: 223857925 Test: build Change-Id: I49348c3f7a1c5c7e9cf49f4e0d8d7547548c5137
-rw-r--r--libhwc2.1/libmaindisplay/ExynosPrimaryDisplayModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhwc2.1/libmaindisplay/ExynosPrimaryDisplayModule.cpp b/libhwc2.1/libmaindisplay/ExynosPrimaryDisplayModule.cpp
index 74e8246..a8425c4 100644
--- a/libhwc2.1/libmaindisplay/ExynosPrimaryDisplayModule.cpp
+++ b/libhwc2.1/libmaindisplay/ExynosPrimaryDisplayModule.cpp
@@ -1021,7 +1021,7 @@ void ExynosPrimaryDisplayModule::setLbeState(LbeState state) {
mBrightnessController->processEnhancedHbm(enhanced_hbm);
if (mCurrentLbeState != state) {
mCurrentLbeState = state;
- mDevice->invalidate();
+ mDevice->onRefresh();
}
ALOGI("Lbe state %hhd", mCurrentLbeState);
}
@@ -1049,7 +1049,7 @@ void ExynosPrimaryDisplayModule::setLbeAmbientLight(int value) {
if (mAtcLuxMapIndex != index) {
mAtcLuxMapIndex = index;
- mDevice->invalidate();
+ mDevice->onRefresh();
}
mCurrentLux = value;
}
@@ -1116,7 +1116,7 @@ void ExynosPrimaryDisplayModule::checkAtcAnimation() {
ALOGI("atc enable is off (pending off=false)");
}
- mDevice->invalidate();
+ mDevice->onRefresh();
}
int32_t ExynosPrimaryDisplayModule::setPowerMode(int32_t mode) {