Example usage for android.content ContentProvider getContext

List of usage examples for android.content ContentProvider getContext

Introduction

In this page you can find the example usage for android.content ContentProvider getContext.

Prototype

public final @Nullable Context getContext() 

Source Link

Document

Retrieves the Context this provider is running in.

Usage

From source file:com.uphyca.kitkat.storage.InjectionUtil.java

/**
 * provider???/*from  ww w.  j av  a2  s .co m*/
 * 
 * @param provider
 */
public static void inject(ContentProvider provider) {
    inject(acquireInjector(provider.getContext()), provider);
}