[Systeminfo] Fixed behaviour of Network property 69/235869/2 accepted/tizen/unified/20200615.135439 submit/tizen/20200610.123237
authorPiotr Kosko <p.kosko@samsung.com>
Wed, 10 Jun 2020 11:19:07 +0000 (13:19 +0200)
committerPiotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Wed, 10 Jun 2020 11:59:10 +0000 (13:59 +0200)
commit54267360d3f12529ac9c9ca20d9efefff59e0482
tree6b3b9ee34b83553147c7bad1484da0f56571cf49
parent8976d0ab574998457807a8efa93a3457db8d6905
[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