diff options
author | Tingting Wang <tingtingw@google.com> | 2015-12-04 15:35:42 -0800 |
---|---|---|
committer | Tingting Wang <tingtingw@google.com> | 2015-12-04 15:35:42 -0800 |
commit | 59af846139224607b667c61ee191bf363ef929ba (patch) | |
tree | b3a76ae1e8134a7c2fb34eb87e4e8cad538b5fd5 /src/com | |
parent | 793bd9aa874703e782f3c292c8427f790869f40f (diff) | |
download | packages_providers_ContactsProvider-59af846139224607b667c61ee191bf363ef929ba.zip packages_providers_ContactsProvider-59af846139224607b667c61ee191bf363ef929ba.tar.gz packages_providers_ContactsProvider-59af846139224607b667c61ee191bf363ef929ba.tar.bz2 |
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
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/providers/contacts/ContactsProvider2.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |