granularity level: instruction
.class public final Lw/m;
.super Ljava/lang/Object;
.source "SourceFile"
.field public static e:Lw/m;
.field public final a:Landroid/content/Context;
.field public final b:Ljava/util/concurrent/ScheduledExecutorService;
.field public c:Lw/j;
.field public d:I
.method public constructor <init>(Landroid/content/Context;Ljava/util/concurrent/ScheduledExecutorService;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lw/j;
invoke-direct {v0, p0}, Lw/j;-><init>(Lw/m;)V
iput-object v0, p0, Lw/m;->c:Lw/j;
const/4 v0, 0x1
iput v0, p0, Lw/m;->d:I
iput-object p2, p0, Lw/m;->b:Ljava/util/concurrent/ScheduledExecutorService;
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p1
iput-object p1, p0, Lw/m;->a:Landroid/content/Context;
return-void
.end method
.method public static declared-synchronized a(Landroid/content/Context;)Lw/m;
.locals 4
const-class v0, Lw/m;
monitor-enter v0
:try_start_0
sget-object v1, Lw/m;->e:Lw/m;
if-nez v1, :cond_0
new-instance v1, Lw/m;
new-instance v2, La/b;
const-string v3, "MessengerIpcClient"
invoke-direct {v2, v3}, La/b;-><init>(Ljava/lang/String;)V
const/4 v3, 0x1
invoke-static {v3, v2}, Ljava/util/concurrent/Executors;->newScheduledThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object v2
invoke-static {v2}, Ljava/util/concurrent/Executors;->unconfigurableScheduledExecutorService(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object v2
invoke-direct {v1, p0, v2}, Lw/m;-><init>(Landroid/content/Context;Ljava/util/concurrent/ScheduledExecutorService;)V
sput-object v1, Lw/m;->e:Lw/m;
:cond_0
sget-object p0, Lw/m;->e:Lw/m;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v0
return-object p0
:catchall_0
move-exception p0
monitor-exit v0
throw p0
.end method
.method public final declared-synchronized b(Lw/k;)Lo0/o;
.locals 3
monitor-enter p0
:try_start_0
const-string v0, "MessengerIpcClient"
const/4 v1, 0x3
invoke-static {v0, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result v0
if-eqz v0, :cond_0
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v1
new-instance v2, Ljava/lang/StringBuilder;
add-int/lit8 v1, v1, 0x9
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v1, "Queueing "
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "MessengerIpcClient"
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_0
iget-object v0, p0, Lw/m;->c:Lw/j;
invoke-virtual {v0, p1}, Lw/j;->d(Lw/k;)Z
move-result v0
if-nez v0, :cond_1
new-instance v0, Lw/j;
invoke-direct {v0, p0}, Lw/j;-><init>(Lw/m;)V
iput-object v0, p0, Lw/m;->c:Lw/j;
invoke-virtual {v0, p1}, Lw/j;->d(Lw/k;)Z
:cond_1
iget-object p1, p1, Lw/l;->b:Lo0/i;
iget-object p1, p1, Lo0/i;->a:Lo0/o;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method