[Systeminfo] Fixed behaviour of Network property 74/235874/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20200611.103152 submit/tizen_4.0/20200610.123534
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:22:35 +0000 (12:22 +0000)
commit11370ba1513e5ac37a6143c146c81eae22d982b4
tree555648eb014fb71873deba74f83be677f3d125e3
parent88b289ac385884ca558e491129ca94d1c5db5636
[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