standard: fix infinite vibration 65/222865/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200121.165903 submit/tizen_5.5/20200121.093910
authorYunmi Ha <yunmi.ha@samsung.com>
Mon, 20 Jan 2020 10:07:33 +0000 (19:07 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 21 Jan 2020 03:00:08 +0000 (03:00 +0000)
commitaa6beb64ad36fc305d8c315a3b2957d2716572d0
treeb0bb7a17563f100962bdb400bc16be2337460a34
parent09b3aa213e8738649db258c63f890cb66c97a79d
standard: fix infinite vibration

- If feedbackd receives another vibration request
without stopping the previous vibration,
there's not way to stop the previous one, probably causing infinite vibration.

- So, feedbackd should override the previous effect id on a new request
to keep a single effect id.

Change-Id: I2ab714ac4e5103ca65d3b4697e82240b09d58996
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit dbaea2ddcf27c6d3431de4523eb0cd7ed7905715)
src/haptic/standard.c