summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-10-30 13:01:07 +0100
committerDanny Baumann <dannybaumann@web.de>2016-10-30 13:01:07 +0100
commit01882f2df414e2946baf07bef93b3216105a74ec (patch)
tree98349d1a38520bd0e3756b7fa16acab445cfc0d6
parent1d0ca65e7b41d2728c226ae9284df6ff8e322db3 (diff)
downloadandroid_packages_services_Telecomm-01882f2df414e2946baf07bef93b3216105a74ec.tar.gz
android_packages_services_Telecomm-01882f2df414e2946baf07bef93b3216105a74ec.tar.bz2
android_packages_services_Telecomm-01882f2df414e2946baf07bef93b3216105a74ec.zip
Adapt test to API changes.
Commit 1d0ca65e7b41d2728c226ae9284df6ff8e322db3 updated the actual sources, but missed updating the test. Fix that. Change-Id: I2424d2364bee197673a2baf004bc13933263d845
-rw-r--r--tests/src/com/android/server/telecom/tests/ComponentContextFixture.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java b/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
index 9f66f007..04152b43 100644
--- a/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
+++ b/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
@@ -354,7 +354,8 @@ public class ComponentContextFixture implements TestFixture<Context> {
}
}).when(mAppOpsManager).checkPackage(anyInt(), anyString());
- when(mNotificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(true);
+ when(mNotificationManager.matchesCallFilter(any(Bundle.class)))
+ .thenReturn(new boolean[] { true, true });
when(mUserManager.getSerialNumberForUser(any(UserHandle.class))).thenReturn(-1L);
}