granularity level: instruction

		.class  Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;
.super Landroid/content/BroadcastReceiver;
.source "TopicsSyncTask.java"

.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/messaging/TopicsSyncTask;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "ConnectivityChangeReceiver"
.end annotation

.field private task:Lcom/google/firebase/messaging/TopicsSyncTask;
.field final synthetic this$0:Lcom/google/firebase/messaging/TopicsSyncTask;


.method public constructor <init>(Lcom/google/firebase/messaging/TopicsSyncTask;Lcom/google/firebase/messaging/TopicsSyncTask;)V
	.locals 0

	iput-object p1, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->this$0:Lcom/google/firebase/messaging/TopicsSyncTask;
	invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
	iput-object p2, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->task:Lcom/google/firebase/messaging/TopicsSyncTask;
	return-void
.end method

.method public declared-synchronized onReceive(Landroid/content/Context;Landroid/content/Intent;)V
	.locals 3

	monitor-enter p0
	:try_start_0
	iget-object p2, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->task:Lcom/google/firebase/messaging/TopicsSyncTask;
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	:try_start_1
	invoke-static {p2}, Lcom/google/firebase/messaging/TopicsSyncTask;->access$000(Lcom/google/firebase/messaging/TopicsSyncTask;)Z
	move-result p2
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	if-nez p2, :cond_1
	monitor-exit p0
	return-void
	:try_start_2
	:cond_1
	invoke-static {}, Lcom/google/firebase/messaging/TopicsSyncTask;->access$100()Z
	move-result p2
	iget-object p2, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->task:Lcom/google/firebase/messaging/TopicsSyncTask;
	invoke-static {p2}, Lcom/google/firebase/messaging/TopicsSyncTask;->access$200(Lcom/google/firebase/messaging/TopicsSyncTask;)Lcom/google/firebase/messaging/TopicsSubscriber;
	move-result-object p2
	iget-object v0, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->task:Lcom/google/firebase/messaging/TopicsSyncTask;
	const-wide/16 v1, 0x0
	invoke-virtual {p2, v0, v1, v2}, Lcom/google/firebase/messaging/TopicsSubscriber;->scheduleSyncTaskWithDelaySeconds(Ljava/lang/Runnable;J)V
	invoke-virtual {p1, p0}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
	const/4 p1, 0x0
	iput-object p1, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->task:Lcom/google/firebase/messaging/TopicsSyncTask;
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_0
	monitor-exit p0
	return-void
	:catchall_0
	move-exception p1
	monitor-exit p0
	throw p1
.end method

.method public registerReceiver()V
	.locals 3

	invoke-static {}, Lcom/google/firebase/messaging/TopicsSyncTask;->access$100()Z
	move-result v0
	iget-object v0, p0, Lcom/google/firebase/messaging/TopicsSyncTask$ConnectivityChangeReceiver;->this$0:Lcom/google/firebase/messaging/TopicsSyncTask;
	invoke-static {v0}, Lcom/google/firebase/messaging/TopicsSyncTask;->access$300(Lcom/google/firebase/messaging/TopicsSyncTask;)Landroid/content/Context;
	move-result-object v0
	new-instance v1, Landroid/content/IntentFilter;
	const-string v2, "android.net.conn.CONNECTIVITY_CHANGE"
	invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
	invoke-virtual {v0, p0, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
	return-void
.end method