[Systeminfo] Fixed behaviour of Network property 76/235876/1 accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200610.155315 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121331 submit/tizen_5.5/20200610.123346 submit/tizen_5.5_wearable_hotfix/20201026.184302
authorPiotr Kosko <p.kosko@samsung.com>
Wed, 10 Jun 2020 11:19:07 +0000 (13:19 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Wed, 10 Jun 2020 12:23:00 +0000 (12:23 +0000)
commite97081c23b69a819e5355296f85d5b0632134f5c
tree1d629a15669190ed7fbd250b7e9c640e8d8d6d1a
parentc393af2d79d95a09bd8d57f47cfd66adf5f52b20
[Systeminfo] Fixed behaviour of Network property

[Bug] When using device with not supported feature
http://tizen.org/feature/network.telephony
e.g. R800 device, below code returns no error:
  tizen.systeminfo.getPropertyValueArray("NETWORK", (s) => {console.log(s)}, (s) => {console.log(s)})
listener for "NETWORK" property is never triggered also:
  tizen.systeminfo.addPropertyValueChangeListener("NETWORK", (s) => console.log(s));

[verification]
Systeminfo TCT 100% passrate.
After fix, listener and getter works properly on TW3.

Change-Id: I9f0d533055926d186305fb7c39418de1fed76f5b
src/systeminfo/systeminfo-utils.cpp
src/systeminfo/systeminfo-utils.h
src/systeminfo/systeminfo_manager.cc