standard: fix infinite vibration 22/222822/7 accepted/tizen/unified/20200129.022601 submit/tizen/20200121.090851 submit/tizen/20200122.232403
authorYunmi Ha <yunmi.ha@samsung.com>
Mon, 20 Jan 2020 10:07:33 +0000 (19:07 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Tue, 21 Jan 2020 02:56:56 +0000 (11:56 +0900)
commitdbaea2ddcf27c6d3431de4523eb0cd7ed7905715
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>
src/haptic/standard.c