granularity level: instruction

		.class public final La0/e0;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Landroid/content/ServiceConnection;


.field public final a:Ljava/util/HashMap;
.field public b:I
.field public c:Z
.field public d:Landroid/os/IBinder;
.field public final e:La0/c0;
.field public f:Landroid/content/ComponentName;
.field public final synthetic g:La0/g0;


.method public constructor <init>(La0/g0;La0/c0;)V
	.locals 0

	iput-object p1, p0, La0/e0;->g:La0/g0;
	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	iput-object p2, p0, La0/e0;->e:La0/c0;
	new-instance p1, Ljava/util/HashMap;
	invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
	iput-object p1, p0, La0/e0;->a:Ljava/util/HashMap;
	const/4 p1, 0x2
	iput p1, p0, La0/e0;->b:I
	return-void
.end method

.method public final a(Ljava/lang/String;)V
	.locals 9

	const/4 v0, 0x3
	iput v0, p0, La0/e0;->b:I
	invoke-static {}, Landroid/os/StrictMode;->getVmPolicy()Landroid/os/StrictMode$VmPolicy;
	move-result-object v0
	sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
	const/4 v2, 0x1
	const/16 v3, 0x1f
	if-lt v1, v3, :cond_0
	const/4 v1, 0x1
	goto :goto_0
	:cond_0
	const/4 v1, 0x0
	:goto_0
	if-eqz v1, :cond_1
	new-instance v1, Landroid/os/StrictMode$VmPolicy$Builder;
	invoke-direct {v1, v0}, Landroid/os/StrictMode$VmPolicy$Builder;-><init>(Landroid/os/StrictMode$VmPolicy;)V
	invoke-static {v1}, La0/d0;->a(Landroid/os/StrictMode$VmPolicy$Builder;)Landroid/os/StrictMode$VmPolicy$Builder;
	move-result-object v1
	invoke-virtual {v1}, Landroid/os/StrictMode$VmPolicy$Builder;->build()Landroid/os/StrictMode$VmPolicy;
	move-result-object v1
	invoke-static {v1}, Landroid/os/StrictMode;->setVmPolicy(Landroid/os/StrictMode$VmPolicy;)V
	:try_start_0
	:cond_1
	iget-object v1, p0, La0/e0;->g:La0/g0;
	iget-object v3, v1, La0/g0;->d:Ld0/a;
	iget-object v4, v1, La0/g0;->b:Landroid/content/Context;
	iget-object v1, p0, La0/e0;->e:La0/c0;
	invoke-virtual {v1, v4}, La0/c0;->a(Landroid/content/Context;)Landroid/content/Intent;
	move-result-object v6
	iget-object v1, p0, La0/e0;->e:La0/c0;
	iget v8, v1, La0/c0;->c:I
	move-object v5, p1
	move-object v7, p0
	invoke-virtual/range {v3 .. v8}, Ld0/a;->c(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z
	move-result p1
	iput-boolean p1, p0, La0/e0;->c:Z
	if-eqz p1, :cond_2
	iget-object p1, p0, La0/e0;->g:La0/g0;
	iget-object p1, p1, La0/g0;->c:Lh0/d;
	iget-object v1, p0, La0/e0;->e:La0/c0;
	invoke-virtual {p1, v2, v1}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v1, p0, La0/e0;->g:La0/g0;
	iget-object v1, v1, La0/g0;->c:Lh0/d;
	iget-object v2, p0, La0/e0;->g:La0/g0;
	iget-wide v2, v2, La0/g0;->f:J
	invoke-virtual {v1, p1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	goto :goto_1
	:cond_2
	const/4 p1, 0x2
	iput p1, p0, La0/e0;->b:I
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	:try_start_1
	iget-object p1, p0, La0/e0;->g:La0/g0;
	iget-object v1, p1, La0/g0;->d:Ld0/a;
	iget-object p1, p1, La0/g0;->b:Landroid/content/Context;
	invoke-virtual {v1, p1, p0}, Ld0/a;->b(Landroid/content/Context;Landroid/content/ServiceConnection;)V
	:try_end_1
	.catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_0
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	:goto_1
	:catch_0
	invoke-static {v0}, Landroid/os/StrictMode;->setVmPolicy(Landroid/os/StrictMode$VmPolicy;)V
	return-void
	:catchall_0
	move-exception p1
	invoke-static {v0}, Landroid/os/StrictMode;->setVmPolicy(Landroid/os/StrictMode$VmPolicy;)V
	throw p1
.end method

.method public final onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
	.locals 4

	iget-object v0, p0, La0/e0;->g:La0/g0;
	iget-object v0, v0, La0/g0;->a:Ljava/util/HashMap;
	monitor-enter v0
	:try_start_0
	iget-object v1, p0, La0/e0;->g:La0/g0;
	iget-object v1, v1, La0/g0;->c:Lh0/d;
	iget-object v2, p0, La0/e0;->e:La0/c0;
	const/4 v3, 0x1
	invoke-virtual {v1, v3, v2}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iput-object p2, p0, La0/e0;->d:Landroid/os/IBinder;
	iput-object p1, p0, La0/e0;->f:Landroid/content/ComponentName;
	iget-object v1, p0, La0/e0;->a:Ljava/util/HashMap;
	invoke-virtual {v1}, Ljava/util/HashMap;->values()Ljava/util/Collection;
	move-result-object v1
	invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
	move-result-object v1
	:goto_0
	invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
	move-result v2
	if-eqz v2, :cond_0
	invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Landroid/content/ServiceConnection;
	invoke-interface {v2, p1, p2}, Landroid/content/ServiceConnection;->onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
	goto :goto_0
	:cond_0
	iput v3, p0, La0/e0;->b:I
	monitor-exit v0
	return-void
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
.end method

.method public final onServiceDisconnected(Landroid/content/ComponentName;)V
	.locals 4

	iget-object v0, p0, La0/e0;->g:La0/g0;
	iget-object v0, v0, La0/g0;->a:Ljava/util/HashMap;
	monitor-enter v0
	:try_start_0
	iget-object v1, p0, La0/e0;->g:La0/g0;
	iget-object v1, v1, La0/g0;->c:Lh0/d;
	const/4 v2, 0x1
	iget-object v3, p0, La0/e0;->e:La0/c0;
	invoke-virtual {v1, v2, v3}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	const/4 v1, 0x0
	iput-object v1, p0, La0/e0;->d:Landroid/os/IBinder;
	iput-object p1, p0, La0/e0;->f:Landroid/content/ComponentName;
	iget-object v1, p0, La0/e0;->a:Ljava/util/HashMap;
	invoke-virtual {v1}, Ljava/util/HashMap;->values()Ljava/util/Collection;
	move-result-object v1
	invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
	move-result-object v1
	:goto_0
	invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
	move-result v2
	if-eqz v2, :cond_0
	invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Landroid/content/ServiceConnection;
	invoke-interface {v2, p1}, Landroid/content/ServiceConnection;->onServiceDisconnected(Landroid/content/ComponentName;)V
	goto :goto_0
	:cond_0
	const/4 p1, 0x2
	iput p1, p0, La0/e0;->b:I
	monitor-exit v0
	return-void
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
.end method