修复DeviceManagementCollection订阅设备状态失败问题

Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
zwx1126739 2024-09-14 10:26:09 +08:00
parent f38e12f803
commit f310512cab

View File

@ -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 = ``;