Fix testVibrator test

'android.permission.cts.NoSystemFunctionPermissionTest#testVibrator' test was
failing on TV devices because they don't have vibrators. We're adding a check
to abort the test, if the test device does not have a vibrator.

Bug: 313158243
Test: atest CtsPermissionTestCases:android.permission.cts.NoSystemFunctionPermissionTest#testVibrator
Change-Id: I6f52e63b40f992ceb006156b7a000669b09658c5
1 file changed