mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 08:30:06 +00:00
修复DeviceManagementCollection订阅设备状态失败问题
Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
parent
f38e12f803
commit
f310512cab
@ -47,7 +47,7 @@ export struct StationaryManager {
|
||||
switch (index) {
|
||||
case 0:
|
||||
try {
|
||||
stationary.on('still', stationary.ActivityEvent.ENTER_EXIT, 3, (data) => {
|
||||
stationary.on('still', stationary.ActivityEvent.ENTER_EXIT, 1000000000, (data) => {
|
||||
this.result = `on still success:${JSON.stringify(data)}`;
|
||||
})
|
||||
this.result = ``;
|
||||
|
Loading…
Reference in New Issue
Block a user