granularity level: instruction

		.class  Lcom/google/firebase/messaging/GmsRpc;
.super Ljava/lang/Object;
.source "GmsRpc.java"


.field static final CMD_RST:Ljava/lang/String; = "RST"
.field static final CMD_RST_FULL:Ljava/lang/String; = "RST_FULL"
.field static final CMD_SYNC:Ljava/lang/String; = "SYNC"
.field static final ERROR_INSTANCE_ID_RESET:Ljava/lang/String; = "INSTANCE_ID_RESET"
.field static final ERROR_INTERNAL_SERVER_ERROR:Ljava/lang/String; = "INTERNAL_SERVER_ERROR"
.field static final ERROR_INTERNAL_SERVER_ERROR_ALT:Ljava/lang/String; = "InternalServerError"
.field static final ERROR_SERVICE_NOT_AVAILABLE:Ljava/lang/String; = "SERVICE_NOT_AVAILABLE"
.field private static final EXTRA_DELETE:Ljava/lang/String; = "delete"
.field private static final EXTRA_ERROR:Ljava/lang/String; = "error"
.field private static final EXTRA_IID_OPERATION:Ljava/lang/String; = "iid-operation"
.field private static final EXTRA_REGISTRATION_ID:Ljava/lang/String; = "registration_id"
.field private static final EXTRA_SCOPE:Ljava/lang/String; = "scope"
.field private static final EXTRA_SENDER:Ljava/lang/String; = "sender"
.field private static final EXTRA_SUBTYPE:Ljava/lang/String; = "subtype"
.field private static final EXTRA_TOPIC:Ljava/lang/String; = "gcm.topic"
.field private static final EXTRA_UNREGISTERED:Ljava/lang/String; = "unregistered"
.field static final FIREBASE_IID_HEARTBEAT_TAG:Ljava/lang/String; = "fire-iid"
.field private static final PARAM_APP_VER_CODE:Ljava/lang/String; = "app_ver"
.field private static final PARAM_APP_VER_NAME:Ljava/lang/String; = "app_ver_name"
.field private static final PARAM_CLIENT_VER:Ljava/lang/String; = "cliv"
.field private static final PARAM_FIREBASE_APP_NAME_HASH:Ljava/lang/String; = "firebase-app-name-hash"
.field private static final PARAM_FIS_AUTH_TOKEN:Ljava/lang/String; = "Goog-Firebase-Installations-Auth"
.field private static final PARAM_GMP_APP_ID:Ljava/lang/String; = "gmp_app_id"
.field private static final PARAM_GMS_VER:Ljava/lang/String; = "gmsv"
.field private static final PARAM_HEARTBEAT_CODE:Ljava/lang/String; = "Firebase-Client-Log-Type"
.field private static final PARAM_INSTANCE_ID:Ljava/lang/String; = "appid"
.field private static final PARAM_OS_VER:Ljava/lang/String; = "osv"
.field private static final PARAM_USER_AGENT:Ljava/lang/String; = "Firebase-Client"
.field private static final SCOPE_ALL:Ljava/lang/String; = "*"
.field static final TAG:Ljava/lang/String; = "FirebaseMessaging"
.field private static final TOPIC_PREFIX:Ljava/lang/String; = "/topics/"
.field private final app:Lcom/google/firebase/FirebaseApp;
.field private final firebaseInstallations:Lcom/google/firebase/installations/FirebaseInstallationsApi;
.field private final heartbeatInfo:Lcom/google/firebase/inject/Provider;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/firebase/inject/Provider<",
"Lcom/google/firebase/heartbeatinfo/HeartBeatInfo;",
">;"
}
.end annotation
.end field
.field private final metadata:Lcom/google/firebase/messaging/Metadata;
.field private final rpc:Lcom/google/android/gms/cloudmessaging/Rpc;
.field private final userAgentPublisher:Lcom/google/firebase/inject/Provider;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/firebase/inject/Provider<",
"Lcom/google/firebase/platforminfo/UserAgentPublisher;",
">;"
}
.end annotation
.end field


.method constructor <init>(Lcom/google/firebase/FirebaseApp;Lcom/google/firebase/messaging/Metadata;Lcom/google/android/gms/cloudmessaging/Rpc;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/installations/FirebaseInstallationsApi;)V
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/firebase/FirebaseApp;",
	"Lcom/google/firebase/messaging/Metadata;",
	"Lcom/google/android/gms/cloudmessaging/Rpc;",
	"Lcom/google/firebase/inject/Provider<",
	"Lcom/google/firebase/platforminfo/UserAgentPublisher;",
	">;",
	"Lcom/google/firebase/inject/Provider<",
	"Lcom/google/firebase/heartbeatinfo/HeartBeatInfo;",
	">;",
	"Lcom/google/firebase/installations/FirebaseInstallationsApi;",
	")V"
	}
	.end annotation

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	iput-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->app:Lcom/google/firebase/FirebaseApp;
	iput-object p2, p0, Lcom/google/firebase/messaging/GmsRpc;->metadata:Lcom/google/firebase/messaging/Metadata;
	iput-object p3, p0, Lcom/google/firebase/messaging/GmsRpc;->rpc:Lcom/google/android/gms/cloudmessaging/Rpc;
	iput-object p4, p0, Lcom/google/firebase/messaging/GmsRpc;->userAgentPublisher:Lcom/google/firebase/inject/Provider;
	iput-object p5, p0, Lcom/google/firebase/messaging/GmsRpc;->heartbeatInfo:Lcom/google/firebase/inject/Provider;
	iput-object p6, p0, Lcom/google/firebase/messaging/GmsRpc;->firebaseInstallations:Lcom/google/firebase/installations/FirebaseInstallationsApi;
	return-void
.end method

.method constructor <init>(Lcom/google/firebase/FirebaseApp;Lcom/google/firebase/messaging/Metadata;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/installations/FirebaseInstallationsApi;)V
	.locals 7
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/firebase/FirebaseApp;",
	"Lcom/google/firebase/messaging/Metadata;",
	"Lcom/google/firebase/inject/Provider<",
	"Lcom/google/firebase/platforminfo/UserAgentPublisher;",
	">;",
	"Lcom/google/firebase/inject/Provider<",
	"Lcom/google/firebase/heartbeatinfo/HeartBeatInfo;",
	">;",
	"Lcom/google/firebase/installations/FirebaseInstallationsApi;",
	")V"
	}
	.end annotation

	new-instance v3, Lcom/google/android/gms/cloudmessaging/Rpc;
	invoke-virtual {p1}, Lcom/google/firebase/FirebaseApp;->getApplicationContext()Landroid/content/Context;
	move-result-object v0
	invoke-direct {v3, v0}, Lcom/google/android/gms/cloudmessaging/Rpc;-><init>(Landroid/content/Context;)V
	move-object v0, p0
	move-object v1, p1
	move-object v2, p2
	move-object v4, p3
	move-object v5, p4
	move-object v6, p5
	invoke-direct/range {v0 .. v6}, Lcom/google/firebase/messaging/GmsRpc;-><init>(Lcom/google/firebase/FirebaseApp;Lcom/google/firebase/messaging/Metadata;Lcom/google/android/gms/cloudmessaging/Rpc;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/inject/Provider;Lcom/google/firebase/installations/FirebaseInstallationsApi;)V
	return-void
.end method

.method private static base64UrlSafe([B)Ljava/lang/String;
	.locals 1

	const/16 v0, 0xb
	invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
	move-result-object p0
	return-object p0
.end method

.method private extractResponseWhenComplete(Lcom/google/android/gms/tasks/Task;)Lcom/google/android/gms/tasks/Task;
	.locals 2
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/tasks/Task<",
	"Landroid/os/Bundle;",
	">;)",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/lang/String;",
	">;"
	}
	.end annotation

	new-instance v0, Lcom/google/firebase/messaging/EnhancedIntentService$$ExternalSyntheticLambda1;
	invoke-direct {v0}, Lcom/google/firebase/messaging/EnhancedIntentService$$ExternalSyntheticLambda1;-><init>()V
	new-instance v1, Lcom/google/firebase/messaging/GmsRpc$$ExternalSyntheticLambda0;
	invoke-direct {v1, p0}, Lcom/google/firebase/messaging/GmsRpc$$ExternalSyntheticLambda0;-><init>(Lcom/google/firebase/messaging/GmsRpc;)V
	invoke-virtual {p1, v0, v1}, Lcom/google/android/gms/tasks/Task;->continueWith(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	return-object p1
.end method

.method private getHashedFirebaseAppName()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/firebase/messaging/GmsRpc;->app:Lcom/google/firebase/FirebaseApp;
	invoke-virtual {v0}, Lcom/google/firebase/FirebaseApp;->getName()Ljava/lang/String;
	move-result-object v0
	const-string v1, "SHA-1"
	invoke-static {v1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
	move-result-object v1
	invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B
	move-result-object v0
	invoke-virtual {v1, v0}, Ljava/security/MessageDigest;->digest([B)[B
	move-result-object v0
	invoke-static {v0}, Lcom/google/firebase/messaging/GmsRpc;->base64UrlSafe([B)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method private handleResponse(Landroid/os/Bundle;)Ljava/lang/String;
	.locals 3
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Ljava/io/IOException;
	}
	.end annotation

	const-string v0, "SERVICE_NOT_AVAILABLE"
	const-string v1, "registration_id"
	invoke-virtual {p1, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	return-object v1
.end method

.method static isErrorMessageForRetryableError(Ljava/lang/String;)Z
	.locals 1

	const/4 v0, 0x0
	return v0
.end method

.method private setDefaultAttributesToBundle(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
	.locals 2
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Ljava/util/concurrent/ExecutionException;,
	Ljava/lang/InterruptedException;
	}
	.end annotation

	const-string v0, "FirebaseMessaging"
	const-string v1, "scope"
	invoke-virtual {p3, v1, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	const-string p2, "sender"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	const-string p2, "subtype"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->app:Lcom/google/firebase/FirebaseApp;
	invoke-virtual {p1}, Lcom/google/firebase/FirebaseApp;->getOptions()Lcom/google/firebase/FirebaseOptions;
	move-result-object p1
	invoke-virtual {p1}, Lcom/google/firebase/FirebaseOptions;->getApplicationId()Ljava/lang/String;
	move-result-object p1
	const-string p2, "gmp_app_id"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->metadata:Lcom/google/firebase/messaging/Metadata;
	invoke-virtual {p1}, Lcom/google/firebase/messaging/Metadata;->getGmsVersionCode()I
	move-result p1
	invoke-static {p1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
	move-result-object p1
	const-string p2, "gmsv"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
	invoke-static {p1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
	move-result-object p1
	const-string p2, "osv"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->metadata:Lcom/google/firebase/messaging/Metadata;
	invoke-virtual {p1}, Lcom/google/firebase/messaging/Metadata;->getAppVersionCode()Ljava/lang/String;
	move-result-object p1
	const-string p2, "app_ver"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->metadata:Lcom/google/firebase/messaging/Metadata;
	invoke-virtual {p1}, Lcom/google/firebase/messaging/Metadata;->getAppVersionName()Ljava/lang/String;
	move-result-object p1
	const-string p2, "app_ver_name"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	invoke-direct {p0}, Lcom/google/firebase/messaging/GmsRpc;->getHashedFirebaseAppName()Ljava/lang/String;
	move-result-object p1
	const-string p2, "firebase-app-name-hash"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->firebaseInstallations:Lcom/google/firebase/installations/FirebaseInstallationsApi;
	const/4 p2, 0x0
	invoke-interface {p1, p2}, Lcom/google/firebase/installations/FirebaseInstallationsApi;->getToken(Z)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, Lcom/google/firebase/installations/InstallationTokenResult;
	invoke-virtual {p1}, Lcom/google/firebase/installations/InstallationTokenResult;->getToken()Ljava/lang/String;
	move-result-object p1
	invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result p2
	const-string p2, "Goog-Firebase-Installations-Auth"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->firebaseInstallations:Lcom/google/firebase/installations/FirebaseInstallationsApi;
	invoke-interface {p1}, Lcom/google/firebase/installations/FirebaseInstallationsApi;->getId()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/String;
	const-string p2, "appid"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	new-instance p1, Ljava/lang/StringBuilder;
	invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
	const-string p2, "fcm-"
	invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p2, "23.1.0"
	invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	const-string p2, "cliv"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->heartbeatInfo:Lcom/google/firebase/inject/Provider;
	invoke-interface {p1}, Lcom/google/firebase/inject/Provider;->get()Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Lcom/google/firebase/heartbeatinfo/HeartBeatInfo;
	iget-object p2, p0, Lcom/google/firebase/messaging/GmsRpc;->userAgentPublisher:Lcom/google/firebase/inject/Provider;
	invoke-interface {p2}, Lcom/google/firebase/inject/Provider;->get()Ljava/lang/Object;
	move-result-object p2
	check-cast p2, Lcom/google/firebase/platforminfo/UserAgentPublisher;
	if-eqz p1, :cond_1
	if-eqz p2, :cond_1
	const-string v0, "fire-iid"
	invoke-interface {p1, v0}, Lcom/google/firebase/heartbeatinfo/HeartBeatInfo;->getHeartBeatCode(Ljava/lang/String;)Lcom/google/firebase/heartbeatinfo/HeartBeatInfo$HeartBeat;
	move-result-object p1
	sget-object v0, Lcom/google/firebase/heartbeatinfo/HeartBeatInfo$HeartBeat;->NONE:Lcom/google/firebase/heartbeatinfo/HeartBeatInfo$HeartBeat;
	if-eq p1, v0, :cond_1
	invoke-virtual {p1}, Lcom/google/firebase/heartbeatinfo/HeartBeatInfo$HeartBeat;->getCode()I
	move-result p1
	invoke-static {p1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
	move-result-object p1
	const-string v0, "Firebase-Client-Log-Type"
	invoke-virtual {p3, v0, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	invoke-interface {p2}, Lcom/google/firebase/platforminfo/UserAgentPublisher;->getUserAgent()Ljava/lang/String;
	move-result-object p1
	const-string p2, "Firebase-Client"
	invoke-virtual {p3, p2, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	:cond_1
	return-void
.end method

.method private startRpc(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Ljava/lang/String;",
	"Ljava/lang/String;",
	"Landroid/os/Bundle;",
	")",
	"Lcom/google/android/gms/tasks/Task<",
	"Landroid/os/Bundle;",
	">;"
	}
	.end annotation

	invoke-direct {p0, p1, p2, p3}, Lcom/google/firebase/messaging/GmsRpc;->setDefaultAttributesToBundle(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V
	iget-object p1, p0, Lcom/google/firebase/messaging/GmsRpc;->rpc:Lcom/google/android/gms/cloudmessaging/Rpc;
	invoke-virtual {p1, p3}, Lcom/google/android/gms/cloudmessaging/Rpc;->send(Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	return-object p1
.end method

.method  deleteToken()Lcom/google/android/gms/tasks/Task;
	.locals 3
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"()",
	"Lcom/google/android/gms/tasks/Task<",
	"*>;"
	}
	.end annotation

	const/4 v0, 0x0
	return-object v0
.end method

.method  getToken()Lcom/google/android/gms/tasks/Task;
	.locals 3
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"()",
	"Lcom/google/android/gms/tasks/Task<",
	"Ljava/lang/String;",
	">;"
	}
	.end annotation

	iget-object v0, p0, Lcom/google/firebase/messaging/GmsRpc;->app:Lcom/google/firebase/FirebaseApp;
	invoke-static {v0}, Lcom/google/firebase/messaging/Metadata;->getDefaultSenderId(Lcom/google/firebase/FirebaseApp;)Ljava/lang/String;
	move-result-object v0
	new-instance v1, Landroid/os/Bundle;
	invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
	const-string v2, "*"
	invoke-direct {p0, v0, v2, v1}, Lcom/google/firebase/messaging/GmsRpc;->startRpc(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
	move-result-object v0
	invoke-direct {p0, v0}, Lcom/google/firebase/messaging/GmsRpc;->extractResponseWhenComplete(Lcom/google/android/gms/tasks/Task;)Lcom/google/android/gms/tasks/Task;
	move-result-object v0
	return-object v0
.end method

.method synthetic lambda$extractResponseWhenComplete$0$com-google-firebase-messaging-GmsRpc(Lcom/google/android/gms/tasks/Task;)Ljava/lang/String;
	.locals 1
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Ljava/lang/Exception;
	}
	.end annotation

	const-class v0, Ljava/io/IOException;
	invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/Task;->getResult(Ljava/lang/Class;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Landroid/os/Bundle;
	invoke-direct {p0, p1}, Lcom/google/firebase/messaging/GmsRpc;->handleResponse(Landroid/os/Bundle;)Ljava/lang/String;
	move-result-object p1
	return-object p1
.end method

.method  subscribeToTopic(Ljava/lang/String;Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;
	.locals 4
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Ljava/lang/String;",
	"Ljava/lang/String;",
	")",
	"Lcom/google/android/gms/tasks/Task<",
	"*>;"
	}
	.end annotation

	new-instance v0, Landroid/os/Bundle;
	invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "/topics/"
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v1
	const-string v3, "gcm.topic"
	invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p2
	invoke-direct {p0, p1, p2, v0}, Lcom/google/firebase/messaging/GmsRpc;->startRpc(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	invoke-direct {p0, p1}, Lcom/google/firebase/messaging/GmsRpc;->extractResponseWhenComplete(Lcom/google/android/gms/tasks/Task;)Lcom/google/android/gms/tasks/Task;
	move-result-object p1
	return-object p1
.end method

.method  unsubscribeFromTopic(Ljava/lang/String;Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;
	.locals 4
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Ljava/lang/String;",
	"Ljava/lang/String;",
	")",
	"Lcom/google/android/gms/tasks/Task<",
	"*>;"
	}
	.end annotation

	const/4 v0, 0x0
	return-object v0
.end method