accelerometer - question on shake with 2017-3068 build

Hello,

I am with huawei y6, and this code below do nothing on the device but return a response on simulator

local function listener( event )   if event.isShake then print(1)     system.vibrate()   end         return true end Runtime:addEventListener( "accelerometer", listener )

But this code always work on my device (always return something, even when my phone is just on my table without moving). Is this a bug ?

local function listener( event ) system.vibrate()   if event.isShake then print(1)   end   return true end Runtime:addEventListener( "accelerometer", listener )

Well the vibration may be enough to trigger additional accelerometer events.

Rob

true lol, thx

Well the vibration may be enough to trigger additional accelerometer events.

Rob

true lol, thx