.class public Lcom/google/firebase/provider/FirebaseInitProvider; .super Landroid/content/ContentProvider; .source "FirebaseInitProvider.java" # static fields .field public static final EMPTY_APPLICATION_ID_PROVIDER_AUTHORITY:Ljava/lang/String; = "com.google.firebase.firebaseinitprovider" .annotation build Landroidx/annotation/VisibleForTesting; .end annotation .end field .field private static final TAG:Ljava/lang/String; = "FirebaseInitProvider" # direct methods .method public constructor ()V .locals 0 .line 1 invoke-direct {p0}, Landroid/content/ContentProvider;->()V return-void .end method .method private static checkContentProviderAuthority(Landroid/content/pm/ProviderInfo;)V .locals 1 .param p0 # Landroid/content/pm/ProviderInfo; .annotation build Landroidx/annotation/NonNull; .end annotation .end param const-string v0, "FirebaseInitProvider ProviderInfo cannot be null." .line 1 invoke-static {p0, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 2 iget-object p0, p0, Landroid/content/pm/ProviderInfo;->authority:Ljava/lang/String; const-string v0, "com.google.firebase.firebaseinitprovider" invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result p0 if-nez p0, :cond_0 return-void .line 3 :cond_0 new-instance p0, Ljava/lang/IllegalStateException; const-string v0, "Incorrect provider authority in manifest. Most likely due to a missing applicationId variable in application\'s build.gradle." invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 .end method # virtual methods .method public attachInfo(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V .locals 0 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/content/pm/ProviderInfo; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 1 invoke-static {p2}, Lcom/google/firebase/provider/FirebaseInitProvider;->checkContentProviderAuthority(Landroid/content/pm/ProviderInfo;)V .line 2 invoke-super {p0, p1, p2}, Landroid/content/ContentProvider;->attachInfo(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V return-void .end method .method public delete(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I .locals 0 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p3 # [Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param const/4 p1, 0x0 return p1 .end method .method public getType(Landroid/net/Uri;)Ljava/lang/String; .locals 0 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation const/4 p1, 0x0 return-object p1 .end method .method public insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri; .locals 0 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/content/ContentValues; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation const/4 p1, 0x0 return-object p1 .end method .method public onCreate()Z .locals 2 .line 1 invoke-virtual {p0}, Landroid/content/ContentProvider;->getContext()Landroid/content/Context; move-result-object v0 invoke-static {v0}, Lcom/google/firebase/FirebaseApp;->initializeApp(Landroid/content/Context;)Lcom/google/firebase/FirebaseApp; move-result-object v0 const-string v1, "FirebaseInitProvider" if-nez v0, :cond_0 const-string v0, "FirebaseApp initialization unsuccessful" .line 2 invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I goto :goto_0 :cond_0 const-string v0, "FirebaseApp initialization successful" .line 3 invoke-static {v1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I :goto_0 const/4 v0, 0x0 return v0 .end method .method public query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor; .locals 0 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # [Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p3 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p4 # [Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p5 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation const/4 p1, 0x0 return-object p1 .end method .method public update(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I .locals 0 .param p1 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/content/ContentValues; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p3 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p4 # [Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param const/4 p1, 0x0 return p1 .end method