Code example for ContentProviderClient

Methods: release

0
   * After invoking this method, this instance should be discarded. 
   */ 
  public void releaseProviders() { 
    try { 
      if (providerClient != null) {
        providerClient.release();
      } 
    } catch (Exception e) {
    } 
    providerClient = null;
  } 
 
  @Override 
  protected void finalize() throws Throwable { 
    this.releaseProviders();
    super.finalize(); 
  } 
 
  private static String[] HISTORY_MIGRATION_COLUMNS = new String[] { Control.ENSURE_HISTORY_MIGRATED };
  private static String[] BOOKMARKS_MIGRATION_COLUMNS = new String[] { Control.ENSURE_BOOKMARKS_MIGRATED };