granularity level: instruction

		.class public final Lcom/google/firebase/iid/FirebaseInstanceIdReceiver;
.super Lcom/google/android/gms/cloudmessaging/CloudMessagingReceiver;
.source "FirebaseInstanceIdReceiver.java"


.field private static final TAG:Ljava/lang/String; = "FirebaseMessaging"


.method public constructor <init>()V
	.locals 0

	invoke-direct {p0}, Lcom/google/android/gms/cloudmessaging/CloudMessagingReceiver;-><init>()V
	return-void
.end method

.method private static createServiceIntent(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;
	.locals 0

	new-instance p0, Landroid/content/Intent;
	invoke-direct {p0, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
	invoke-virtual {p0, p2}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
	move-result-object p0
	return-object p0
.end method

.method protected onMessageReceive(Landroid/content/Context;Lcom/google/android/gms/cloudmessaging/CloudMessage;)I
	.locals 1

	new-instance v0, Lcom/google/firebase/messaging/FcmBroadcastProcessor;
	invoke-direct {v0, p1}, Lcom/google/firebase/messaging/FcmBroadcastProcessor;-><init>(Landroid/content/Context;)V
	invoke-virtual {p2}, Lcom/google/android/gms/cloudmessaging/CloudMessage;->getIntent()Landroid/content/Intent;
	move-result-object p1
	invoke-virtual {v0, p1}, Lcom/google/firebase/messaging/FcmBroadcastProcessor;->process(Landroid/content/Intent;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	invoke-static {p1}, Lcom/google/android/gms/tasks/Tasks;->await(Lcom/google/android/gms/tasks/Task;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Ljava/lang/Integer;
	invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
	move-result p1
	return p1
.end method

.method protected onNotificationDismissed(Landroid/content/Context;Landroid/os/Bundle;)V
	.locals 1

	const-string v0, "com.google.firebase.messaging.NOTIFICATION_DISMISS"
	invoke-static {p1, v0, p2}, Lcom/google/firebase/iid/FirebaseInstanceIdReceiver;->createServiceIntent(Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;
	move-result-object p1
	invoke-static {p1}, Lcom/google/firebase/messaging/MessagingAnalytics;->shouldUploadScionMetrics(Landroid/content/Intent;)Z
	move-result p2
	if-eqz p2, :cond_0
	invoke-static {p1}, Lcom/google/firebase/messaging/MessagingAnalytics;->logNotificationDismiss(Landroid/content/Intent;)V
	:cond_0
	return-void
.end method