summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbhay Agarwal <ay.agarwal@samsung.com>2019-10-01 11:04:21 +0900
committersaerome.kim <saerome.kim@samsung.com>2019-10-01 13:29:35 +0900
commitc7b6910a4cfdff3523e55a0be896744f13bc844d (patch)
tree0c6015301b0c7ff794b9534142aa2256a857e518 /src
parent2c1ce84dc57579d98be803be3431783357f07210 (diff)
downloaduser-awareness-c7b6910a4cfdff3523e55a0be896744f13bc844d.tar.gz
user-awareness-c7b6910a4cfdff3523e55a0be896744f13bc844d.tar.bz2
user-awareness-c7b6910a4cfdff3523e55a0be896744f13bc844d.zip
Provide detected sensor information in ALL Modesubmit/tizen/20191001.112138accepted/tizen/unified/20191002.013420
Change-Id: Ia5247115d8ecf22faff6cc48f826775ec77c55c5 Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/user-awareness-monitors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user-awareness-monitors.c b/src/user-awareness-monitors.c
index 9f1dc24..1235bda 100644
--- a/src/user-awareness-monitors.c
+++ b/src/user-awareness-monitors.c
@@ -206,7 +206,7 @@ static void __ua_send_presence_detection()
if (monitor->sensor_bitmask == monitor->presence_detected_bitmask) {
if (monitor->presence_cb)
monitor->presence_cb(UA_ERROR_NONE, monitor,
- UA_SENSOR_MAX, NULL, monitor->user_data);
+ monitor->presence_detected_bitmask, NULL, monitor->user_data);
}
monitor->presence_detected_bitmask = 0;