summaryrefslogtreecommitdiff
path: root/tests/src/com
diff options
context:
space:
mode:
authorMarcus Hagerott <mhagerott@google.com>2017-01-03 15:33:39 -0800
committerMarcus Hagerott <mhagerott@google.com>2017-01-04 08:10:42 -0800
commitcb43f107170eaabe4a14bf4046262745c628ac73 (patch)
tree9d9700ae19b5f688a6d3b3de73ac214f3e86997d /tests/src/com
parent107cd7a225eccad56dfe12ca6d32908e651b27ac (diff)
downloadContacts-cb43f107170eaabe4a14bf4046262745c628ac73.tar.gz
Remove getGroupWritableAccounts method
This method would block on accounts loading. Replaced with asynchronous loading of the group writable accounts. Test: manually verify that labels are still shown in nav drawer Bug 33627801 Change-Id: If1b344d5bfee59dd5b8cc5446b02742ceec1f459
Diffstat (limited to 'tests/src/com')
-rw-r--r--tests/src/com/android/contacts/test/mocks/MockAccountTypeManager.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/src/com/android/contacts/test/mocks/MockAccountTypeManager.java b/tests/src/com/android/contacts/test/mocks/MockAccountTypeManager.java
index b5ccb1eef..d5c1ccb33 100644
--- a/tests/src/com/android/contacts/test/mocks/MockAccountTypeManager.java
+++ b/tests/src/com/android/contacts/test/mocks/MockAccountTypeManager.java
@@ -25,9 +25,6 @@ import com.android.contacts.model.account.AccountWithDataSet;
import com.android.contacts.model.account.BaseAccountType;
import com.google.common.base.Objects;
import com.google.common.base.Predicate;
-import com.google.common.collect.Collections2;
-import com.google.common.collect.Lists;
-import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.Arrays;
@@ -86,11 +83,6 @@ public class MockAccountTypeManager extends AccountTypeManager {
}
@Override
- public List<AccountWithDataSet> getGroupWritableAccounts() {
- return Arrays.asList(mAccounts);
- }
-
- @Override
public Account getDefaultGoogleAccount() {
return null;
}