SlimDim: Use semaphore to cancel ontouch callback

Only cancel callback if there actually is a callback pending

PS3 : forgot to set semaphore to false in the runnable, once it's
      calledback, it's not scheduled anymore, no need to cancel it.

Change-Id: I205ccadb4afcf0f8ef4157b666d0df6161132c91
Signed-off-by: Jean-Pierre Rasquin <yank555.lu@gmail.com>
1 file changed