169 lines
5 KiB
Smali
169 lines
5 KiB
Smali
.class public final Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreDynamicLink.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreDynamicLink;->getDynamicLinkObservable(Landroid/content/Intent;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Action1<",
|
|
"Lrx/Emitter<",
|
|
"TT;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $intent:Landroid/content/Intent;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Intent;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1;->$intent:Landroid/content/Intent;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Lrx/Emitter;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1;->call(Lrx/Emitter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final call(Lrx/Emitter;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lrx/Emitter<",
|
|
"Landroid/net/Uri;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {}, Lf/k/c/h/a;->a()Lf/k/c/h/a;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1;->$intent:Landroid/content/Intent;
|
|
|
|
check-cast v0, Lf/k/c/h/c/e;
|
|
|
|
iget-object v2, v0, Lf/k/c/h/c/e;->a:Lf/k/a/d/e/j/d;
|
|
|
|
new-instance v3, Lf/k/c/h/c/i;
|
|
|
|
iget-object v0, v0, Lf/k/c/h/c/e;->b:Lf/k/c/e/a/a;
|
|
|
|
invoke-virtual {v1}, Landroid/content/Intent;->getDataString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v3, v0, v4}, Lf/k/c/h/c/i;-><init>(Lf/k/c/e/a/a;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2, v3}, Lf/k/a/d/e/j/d;->a(Lf/k/a/d/e/j/m/l;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v2, Lcom/google/firebase/dynamiclinks/internal/DynamicLinkData;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
const-string v3, "com.google.firebase.dynamiclinks.DYNAMIC_LINK_DATA"
|
|
|
|
invoke-virtual {v1, v3}, Landroid/content/Intent;->getByteArrayExtra(Ljava/lang/String;)[B
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
move-object v1, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-static {v2}, Lf/k/a/b/l1/e;->b(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v4
|
|
|
|
array-length v5, v1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-virtual {v4, v1, v6, v5}, Landroid/os/Parcel;->unmarshall([BII)V
|
|
|
|
invoke-virtual {v4, v6}, Landroid/os/Parcel;->setDataPosition(I)V
|
|
|
|
invoke-interface {v2, v4}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
|
|
|
|
invoke-virtual {v4}, Landroid/os/Parcel;->recycle()V
|
|
|
|
:goto_0
|
|
check-cast v1, Lcom/google/firebase/dynamiclinks/internal/DynamicLinkData;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
new-instance v3, Lcom/google/firebase/dynamiclinks/PendingDynamicLinkData;
|
|
|
|
invoke-direct {v3, v1}, Lcom/google/firebase/dynamiclinks/PendingDynamicLinkData;-><init>(Lcom/google/firebase/dynamiclinks/internal/DynamicLinkData;)V
|
|
|
|
:cond_1
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-static {v3}, Lf/k/a/b/l1/e;->e(Ljava/lang/Object;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
new-instance v1, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1$1;
|
|
|
|
invoke-direct {v1, p1}, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1$1;-><init>(Lrx/Emitter;)V
|
|
|
|
new-instance v2, Lcom/discord/stores/StoreDynamicLink$sam$com_google_android_gms_tasks_OnFailureListener$0;
|
|
|
|
invoke-direct {v2, v1}, Lcom/discord/stores/StoreDynamicLink$sam$com_google_android_gms_tasks_OnFailureListener$0;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
invoke-virtual {v0, v2}, Lcom/google/android/gms/tasks/Task;->a(Lf/k/a/d/o/d;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1$2;
|
|
|
|
invoke-direct {v1, p1}, Lcom/discord/stores/StoreDynamicLink$getDynamicLinkObservable$firebaseDynamicLinks$1$2;-><init>(Lrx/Emitter;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/google/android/gms/tasks/Task;->a(Lf/k/a/d/o/e;)Lcom/google/android/gms/tasks/Task;
|
|
|
|
return-void
|
|
.end method
|