.class public Lm1/g;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Le1/b$c;


# instance fields
.field public final synthetic a:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

    iput-object p1, p0, Lm1/g;->a:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Le1/b$b;)Le1/b;
    .registers 6

    iget-object v0, p0, Lm1/g;->a:Landroid/content/Context;

    iget-object v1, p1, Le1/b$b;->b:Ljava/lang/String;

    iget-object p1, p1, Le1/b$b;->c:Le1/b$a;

    if-eqz p1, :cond_27

    if-eqz v0, :cond_1f

    .line 1
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_17

    .line 2
    new-instance v2, Lf1/c;

    const/4 v3, 0x1

    invoke-direct {v2, v0, v1, p1, v3}, Lf1/c;-><init>(Landroid/content/Context;Ljava/lang/String;Le1/b$a;Z)V

    return-object v2

    .line 3
    :cond_17
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "Must set a non-null database name to a configuration that uses the no backup directory."

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_1f
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "Must set a non-null context to create the configuration."

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_27
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "Must set a callback to create the configuration."

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
.end method
