Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53897ade authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Maybe fix build."

parents 8d1127ef 54372e94
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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