projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebd5e7
)
解决查找手表后亮度不一致问题
author
luozheng
<1732036298@qq.com>
Thu, 22 Jan 2026 06:25:17 +0000
(14:25 +0800)
committer
luozheng
<1732036298@qq.com>
Thu, 22 Jan 2026 06:25:17 +0000
(14:25 +0800)
code/sdk/zhihui/config/src/ConfigModel.cpp
patch
|
blob
|
history
diff --git
a/code/sdk/zhihui/config/src/ConfigModel.cpp
b/code/sdk/zhihui/config/src/ConfigModel.cpp
index
c8e1706
..
f095008
100644
(file)
--- a/
code/sdk/zhihui/config/src/ConfigModel.cpp
+++ b/
code/sdk/zhihui/config/src/ConfigModel.cpp
@@
-1371,9
+1371,7
@@
void cm_initScreenBrightness(void)
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "cm_initScreenBrightness");
int brightness = OHOS::ConfigModel::GetInstance()->GetBrightness();
- #ifdef BOARD_LEINIAO
- OHOS::ConfigModel::GetInstance()->SetBrightness(5);
- #endif
+ uapi_setScreenBrightness(brightness);
}
int cm_getScreenBrightness(void)