From 59af846139224607b667c61ee191bf363ef929ba Mon Sep 17 00:00:00 2001 From: Tingting Wang Date: Fri, 4 Dec 2015 15:35:42 -0800 Subject: Update directories when initializing ContactsProvider. This is to fix a bug when reading exchange provider. Updating directories can fix it without factory reset or account changed. BUG 22398175 Change-Id: I36e05ff5f7bc83dc25ab165e5f5fb122bbe6c160 --- src/com/android/providers/contacts/ContactsProvider2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/providers/contacts/ContactsProvider2.java b/src/com/android/providers/contacts/ContactsProvider2.java index 7dc7e7e..8904dc1 100644 --- a/src/com/android/providers/contacts/ContactsProvider2.java +++ b/src/com/android/providers/contacts/ContactsProvider2.java @@ -1687,6 +1687,7 @@ public class ContactsProvider2 extends AbstractContactsProvider initForDefaultLocale(); mReadAccessLatch.countDown(); mReadAccessLatch = null; + updateDirectoriesInBackground(true); break; } -- cgit v1.1