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:
901128c
)
声音与震动对接app修改
author
luozheng
<1732036298@qq.com>
Thu, 20 Jun 2024 03:54:25 +0000
(11:54 +0800)
committer
luozheng
<1732036298@qq.com>
Thu, 20 Jun 2024 03:54:25 +0000
(11:54 +0800)
code/sdk/drivers/peripheral/config/src/ConfigModel.cpp
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/config/src/ConfigModel.cpp
b/code/sdk/drivers/peripheral/config/src/ConfigModel.cpp
index
0a3a0a6
..
cabe49a
100644
(file)
--- a/
code/sdk/drivers/peripheral/config/src/ConfigModel.cpp
+++ b/
code/sdk/drivers/peripheral/config/src/ConfigModel.cpp
@@
-791,6
+791,7
@@
namespace OHOS
void ConfigModel::SetSilentMode(bool state)
{
set_condigData_Bool(CONFIGMODEL_ITEM_SILENT_MODE,state);
+ uapi_setSilentMode(state);
}
/*获取静音模式是否开启*/
@@
-865,6
+866,7
@@
namespace OHOS
void ConfigModel::SetSystemVolume(int value)
{
set_condigData_Int(CONFIGMODEL_ITEM_SYSTEM_VOLUME,value);
+ uapi_systemVolumeSet(value);
}
//获取系统音量
@@
-877,6
+879,7
@@
namespace OHOS
void ConfigModel::SetCallVolume(int value)
{
set_condigData_Int(CONFIGMODEL_ITEM_CALL_VOLUME,value);
+ uapi_callVolumeSet(value);
}
//获取通话音量