Merge "Update MockTelephonyManager to align with the method being overriden" into main
diff --git a/tests/src/com/android/providers/contacts/ContactsActor.java b/tests/src/com/android/providers/contacts/ContactsActor.java
index 0d7d9b3..26e8aac 100644
--- a/tests/src/com/android/providers/contacts/ContactsActor.java
+++ b/tests/src/com/android/providers/contacts/ContactsActor.java
@@ -292,11 +292,11 @@
}
@Override
- public List<String> getPackagesWithCarrierPrivileges() {
+ public Set<String> getPackagesWithCarrierPrivileges() {
if (!mHasCarrierPrivileges) {
- return Collections.emptyList();
+ return Collections.emptySet();
}
- return Collections.singletonList(packageName);
+ return Collections.singleton(packageName);
}
}