o.smali
.class public final Lcom/bumptech/glide/manager/o;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/manager/o$e;,
Lcom/bumptech/glide/manager/o$d;,
Lcom/bumptech/glide/manager/o$c;
}
.end annotation
# static fields
.field public static volatile d:Lcom/bumptech/glide/manager/o;
# instance fields
.field public final a:Lcom/bumptech/glide/manager/o$c;
.field public final b:Ljava/util/HashSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/bumptech/glide/manager/b$a;",
">;"
}
.end annotation
.end field
.field public c:Z
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 6
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/manager/o;->b:Ljava/util/HashSet;
.line 3
new-instance v0, Lcom/bumptech/glide/manager/o$a;
invoke-direct {v0, p1}, Lcom/bumptech/glide/manager/o$a;-><init>(Landroid/content/Context;)V
.line 4
new-instance v1, Lcom/bumptech/glide/util/g;
invoke-direct {v1, v0}, Lcom/bumptech/glide/util/g;-><init>(Lcom/bumptech/glide/util/h;)V
.line 5
new-instance v0, Lcom/bumptech/glide/manager/o$b;
invoke-direct {v0, p0}, Lcom/bumptech/glide/manager/o$b;-><init>(Lcom/bumptech/glide/manager/o;)V
.line 6
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x18
if-lt v2, v3, :cond_25
.line 7
new-instance p1, Lcom/bumptech/glide/manager/o$d;
invoke-direct {p1, v1, v0}, Lcom/bumptech/glide/manager/o$d;-><init>(Lcom/bumptech/glide/util/h;Lcom/bumptech/glide/manager/b$a;)V
goto :goto_2b
.line 8
:cond_25
new-instance v2, Lcom/bumptech/glide/manager/o$e;
invoke-direct {v2, p1, v1, v0}, Lcom/bumptech/glide/manager/o$e;-><init>(Landroid/content/Context;Lcom/bumptech/glide/util/h;Lcom/bumptech/glide/manager/b$a;)V
move-object p1, v2
:goto_2b
iput-object p1, p0, Lcom/bumptech/glide/manager/o;->a:Lcom/bumptech/glide/manager/o$c;
return-void
.end method
.method public static a(Landroid/content/Context;)Lcom/bumptech/glide/manager/o;
.registers 3
.line 1
sget-object v0, Lcom/bumptech/glide/manager/o;->d:Lcom/bumptech/glide/manager/o;
if-nez v0, :cond_1b
.line 2
const-class v0, Lcom/bumptech/glide/manager/o;
monitor-enter v0
.line 3
:try_start_7
sget-object v1, Lcom/bumptech/glide/manager/o;->d:Lcom/bumptech/glide/manager/o;
if-nez v1, :cond_16
.line 4
new-instance v1, Lcom/bumptech/glide/manager/o;
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
invoke-direct {v1, p0}, Lcom/bumptech/glide/manager/o;-><init>(Landroid/content/Context;)V
sput-object v1, Lcom/bumptech/glide/manager/o;->d:Lcom/bumptech/glide/manager/o;
.line 5
:cond_16
monitor-exit v0
goto :goto_1b
:catchall_18
move-exception p0
monitor-exit v0
:try_end_1a
.catchall {:try_start_7 .. :try_end_1a} :catchall_18
throw p0
.line 6
:cond_1b
:goto_1b
sget-object p0, Lcom/bumptech/glide/manager/o;->d:Lcom/bumptech/glide/manager/o;
return-object p0
.end method