From 54372e9402723b30f8058eb8030a73da843ba6d8 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 9 Jan 2013 18:36:16 -0800 Subject: Maybe fix build. Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46 --- .../framework/permission/tests/VibratorServicePermissionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/permission/src') diff --git a/tests/permission/src/com/android/framework/permission/tests/VibratorServicePermissionTest.java b/tests/permission/src/com/android/framework/permission/tests/VibratorServicePermissionTest.java index 274ac001cb60..241682873c3f 100644 --- a/tests/permission/src/com/android/framework/permission/tests/VibratorServicePermissionTest.java +++ b/tests/permission/src/com/android/framework/permission/tests/VibratorServicePermissionTest.java @@ -46,7 +46,7 @@ public class VibratorServicePermissionTest extends TestCase { */ public void testVibrate() throws RemoteException { try { - mVibratorService.vibrate(2000, new Binder()); + mVibratorService.vibrate(null, 2000, new Binder()); fail("vibrate did not throw SecurityException as expected"); } catch (SecurityException e) { // expected @@ -62,7 +62,7 @@ public class VibratorServicePermissionTest extends TestCase { */ public void testVibratePattern() throws RemoteException { try { - mVibratorService.vibratePattern(new long[] {0}, 0, new Binder()); + mVibratorService.vibratePattern(null, new long[] {0}, 0, new Binder()); fail("vibratePattern did not throw SecurityException as expected"); } catch (SecurityException e) { // expected -- cgit v1.2.3-59-g8ed1b