From 0e464bef9238f150a1a6d97200b49aae9dd33207 Mon Sep 17 00:00:00 2001 From: Zheng Fu Date: Thu, 16 Apr 2015 14:21:28 -0700 Subject: Show which aggregator is used in bugreport. Bug:20298625 Change-Id: I65b20cdbf6567eec2ccd7242359bf1d43b0bfe84 --- src/com/android/providers/contacts/ContactsProvider2.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/providers/contacts/ContactsProvider2.java b/src/com/android/providers/contacts/ContactsProvider2.java index 2fc1d82..5154900 100644 --- a/src/com/android/providers/contacts/ContactsProvider2.java +++ b/src/com/android/providers/contacts/ContactsProvider2.java @@ -9202,6 +9202,9 @@ public class ContactsProvider2 extends AbstractContactsProvider @Override public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { + if (mContactAggregator != null) { + pw.print("Contact aggregator type: " + mContactAggregator.getClass() + "\n"); + } pw.print("FastScrollingIndex stats:\n"); pw.printf("request=%d miss=%d (%d%%) avg time=%dms\n", mFastScrollingIndexCacheRequestCount, -- cgit v1.1