[Systeminfo] Internal implementation changed to use only public native API 28/191128/3
authorPiotr Kosko <p.kosko@samsung.com>
Thu, 11 Oct 2018 12:39:17 +0000 (14:39 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Mon, 15 Oct 2018 06:07:14 +0000 (08:07 +0200)
commit6725b8dbde6261fcb9c86744bac83c1018924d2d
treea0a724c7f2ce751f3bce33db3d4fbea950584c59
parent9e08ef7cd6137ad758eea713172840c181f949b7
[Systeminfo] Internal implementation changed to use only public native API

[Feature] The internal implementaiton was using non-public API of device.h
  library, which makes the hazard of not being supported in future versions.
  To avoid the risk of that, the implementation was improved to use only
  public API. Changed implementation has a guarantee that the API change
  is maintained properly and will not disappear (could be removed only following
  the deprecation and removal procedure).

[Verification] Methods getAvailableMemory() and getTotalMemory() were checked
  with Chrome console.
  TCT passrate of systeminfo module was not changed.

Change-Id: If6f651979f3b3010834f91ff6699b53c770ee760
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/systeminfo/systeminfo-utils.cpp
src/systeminfo/systeminfo.gyp