174 lines
4.7 KiB
Smali
174 lines
4.7 KiB
Smali
.class public final Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4;
|
|
.super Ljava/lang/Object;
|
|
.source "ShareUtils.kt"
|
|
|
|
# interfaces
|
|
.implements Li0/k/b;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/ShareUtils;->updateDirectShareTargets(Landroid/content/Context;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Li0/k/b<",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lkotlin/Pair<",
|
|
"+",
|
|
"Lcom/discord/utilities/ChannelShortcutInfo;",
|
|
"+",
|
|
"Ljava/lang/String;",
|
|
">;>;",
|
|
"Lrx/Observable<",
|
|
"+",
|
|
"Lkotlin/Pair<",
|
|
"+",
|
|
"Ljava/util/List<",
|
|
"+",
|
|
"Lkotlin/Pair<",
|
|
"+",
|
|
"Lcom/discord/utilities/ChannelShortcutInfo;",
|
|
"+",
|
|
"Ljava/lang/String;",
|
|
">;>;+",
|
|
"Lcom/discord/utilities/images/MGImagesBitmap$CloseableBitmaps;",
|
|
">;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $fullBitmapSize:I
|
|
|
|
.field public final synthetic $iconSize:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4;->$iconSize:I
|
|
|
|
iput p2, p0, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4;->$fullBitmapSize:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/util/List;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4;->call(Ljava/util/List;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final call(Ljava/util/List;)Lrx/Observable;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lkotlin/Pair<",
|
|
"Lcom/discord/utilities/ChannelShortcutInfo;",
|
|
"Ljava/lang/String;",
|
|
">;>;)",
|
|
"Lrx/Observable<",
|
|
"+",
|
|
"Lkotlin/Pair<",
|
|
"Ljava/util/List<",
|
|
"Lkotlin/Pair<",
|
|
"Lcom/discord/utilities/ChannelShortcutInfo;",
|
|
"Ljava/lang/String;",
|
|
">;>;",
|
|
"Lcom/discord/utilities/images/MGImagesBitmap$CloseableBitmaps;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
const-string v1, "channelAndIconUriPairs"
|
|
|
|
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1}, Ljava/lang/Iterable;->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, Lkotlin/Pair;
|
|
|
|
new-instance v3, Lcom/discord/utilities/images/MGImagesBitmap$ImageRequest;
|
|
|
|
iget-object v2, v2, Lkotlin/Pair;->second:Ljava/lang/Object;
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-direct {v3, v2, v4}, Lcom/discord/utilities/images/MGImagesBitmap$ImageRequest;-><init>(Ljava/lang/String;Z)V
|
|
|
|
invoke-interface {v0, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v1, Lcom/discord/utilities/images/MGImagesBitmap;->INSTANCE:Lcom/discord/utilities/images/MGImagesBitmap;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/discord/utilities/images/MGImagesBitmap;->getBitmaps(Ljava/util/Set;)Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4$2;-><init>(Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4;)V
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->D(Li0/k/b;)Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4$3;
|
|
|
|
invoke-direct {v1, p1}, Lcom/discord/utilities/ShareUtils$updateDirectShareTargets$4$3;-><init>(Ljava/util/List;)V
|
|
|
|
invoke-virtual {v0, v1}, Lrx/Observable;->D(Li0/k/b;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|