summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-01-09 18:36:16 -0800
committerDianne Hackborn <hackbod@google.com>2013-01-09 18:36:16 -0800
commit54372e9402723b30f8058eb8030a73da843ba6d8 (patch)
tree2fab5d9d982cb66fb9f0a40c81dad36211de65b4 /tests/permission
parent82e60952f2cbd89b8d050dd17bb6bc9652570368 (diff)
downloadframeworks_base-54372e9402723b30f8058eb8030a73da843ba6d8.zip
frameworks_base-54372e9402723b30f8058eb8030a73da843ba6d8.tar.gz
frameworks_base-54372e9402723b30f8058eb8030a73da843ba6d8.tar.bz2
Maybe fix build.
Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46
Diffstat (limited to 'tests/permission')
-rw-r--r--tests/permission/src/com/android/framework/permission/tests/VibratorServicePermissionTest.java4
1 files changed, 2 insertions, 2 deletions
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 274ac00..2416828 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