P130323-4663 - Bluetooth visibility timer updation incorrect
authorDivya Yadav <divya.yadav@samsung.com>
Wed, 27 Mar 2013 06:32:09 +0000 (12:02 +0530)
committerGerrit Code Review <gerrit2@kim11>
Fri, 5 Apr 2013 06:05:06 +0000 (15:05 +0900)
commit7f5dd8ff9532cb04072805d9877d7c54a86b9883
tree3b6113141c59c8a51afd3c771a8352417ddbd0a8
parent89a5bd8f08fdcf84d59d6c8beb69d5f50ce277b2
P130323-4663 - Bluetooth visibility timer updation incorrect

Issue: Sometimes visibility timer in UI updates from 5:00
to 4:58 directly and misses 4:59.

Cause: Use of API g_timeout_add_seconds, whose definition
says that the first call of the timer may not be precise
for timeouts of one second.

Fix: Use of API g_timeout_add resolves the problem

Change-Id: I4f53545b98474b20cdb0c0e1343148ccbd259856
include/bt-type-define.h
src/ui/bt-main-view.c