commit | 187582bd2c1d55199d2f65f33b37b8d65b452ee6 | [log] [tgz] |
---|---|---|
author | Harvey Wu <Harvey.Wu@quantatw.com> | Tue Mar 30 09:42:39 2021 +0800 |
committer | Harvey Wu <Harvey.Wu@quantatw.com> | Wed Mar 31 19:37:58 2021 +0800 |
tree | 393a305cd525d495f2f1e24977c8d8e856f9e15a | |
parent | 2b56ddb38d7446281c18786b5e280ae30f5f7b35 [diff] |
dbusUtils: add try catch to catch error when getDbusProperty failed Avoid to getDbusProperty fail, when sensor service is broken after sensor propertiesChanged signal be triggered. And then return NaN. Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com> Change-Id: Ibd73eb27cfd6274ab56ea7d74db98fdd7d7c1734