Merge "Maybe fix build."

This commit is contained in:
Dianne Hackborn
2013-01-09 18:37:07 -08:00
committed by Android (Google) Code Review

View File

@@ -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