vibrator: vts: correct the checking flag when testing on() interfaces

Check CAP_ON_CALLBACK flag when testing vibrator onWithCallback() and
OnCallbackNotSupported() functions.

CRs-Fixed: 2840197
Bug: 172485963
Change-Id: Ie5c926ec943f191d1e5309ac85e7c8e1540fb824
(cherry picked from commit 15b01dc53b5b6212f0731d503701642f4aca3f6e)
1 file changed