Java Code Examples for com.android.providers.contacts.SynchronousContactsProvider2

Following code examples demonstrate how to use com.android.providers.contacts.SynchronousContactsProvider2from android. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use com.android.providers.contacts.SynchronousContactsProvider2and various code implementation of this class.

    protected void setUp() throws Exception {
        super.setUp();

        mActor = new ContactsActor(getContext(), PACKAGE_GREY,
                SynchronousContactsProvider2.class,
                ContactsContract.AUTHORITY);
    } 


Advertisement
Javadoc
A version of ContactsProvider2 class that performs aggregation synchronously and wipes all data at c

onstruction time.

Read More
Advertisement