[HAM] - fixing pedometer listeners with correct privileges check
authorPiotr Kosko <p.kosko@samsung.com>
Tue, 3 Jan 2017 11:54:30 +0000 (12:54 +0100)
committerjk.pu <jk.pu@samsung.com>
Thu, 5 Jan 2017 13:00:52 +0000 (22:00 +0900)
commitf5590c8dc869bc6e065af5d2f0c33c3d486989cf
tree18f2bb53c04d120a313abc8f97338664ef724d4d
parent963475159f7622d663d64a5d42dda8af1d90fa88
[HAM] - fixing pedometer listeners with correct privileges check

This reverts commit f60b0dd58d49a3cb85df7ca63aeda384abf0bcd2 and adds some special code
  to correctly handle privileges check.

[Verification] TCT for humanactivitymonitor passrate didn't change.
  All TCT privilege HAM-related testcases pass.

Change-Id: Ica915e1f198765ccd43d41df316804bfbcb201d2
src/humanactivitymonitor/humanactivitymonitor_api.js