166 lines
3.8 KiB
Smali
166 lines
3.8 KiB
Smali
.class final Lcom/vk/common/links/OpenFunctionsKt$i;
|
|
.super Ljava/lang/Object;
|
|
.source "OpenFunctions.kt"
|
|
|
|
# interfaces
|
|
.implements Lio/reactivex/functions/Consumer;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vk/common/links/OpenFunctionsKt;->a(Landroid/content/Context;Ljava/lang/String;Lcom/vk/common/links/OpenCallback;)Z
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lio/reactivex/functions/Consumer<",
|
|
"Lcom/vk/dto/articles/Article;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Landroid/content/Context;
|
|
|
|
.field final synthetic b:Lcom/vk/common/links/OpenCallback;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/content/Context;Lcom/vk/common/links/OpenCallback;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/vk/common/links/OpenFunctionsKt$i;->a:Landroid/content/Context;
|
|
|
|
iput-object p2, p0, Lcom/vk/common/links/OpenFunctionsKt$i;->b:Lcom/vk/common/links/OpenCallback;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/vk/dto/articles/Article;)V
|
|
.locals 9
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lcom/vk/dto/articles/Article;->D1()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
sget-object v1, Lcom/vk/articles/ArticleFragment;->l0:Lcom/vk/articles/ArticleFragment$a;
|
|
|
|
iget-object v2, p0, Lcom/vk/common/links/OpenFunctionsKt$i;->a:Landroid/content/Context;
|
|
|
|
const-string v0, "r"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/16 v7, 0x1c
|
|
|
|
const/4 v8, 0x0
|
|
|
|
move-object v3, p1
|
|
|
|
invoke-static/range {v1 .. v8}, Lcom/vk/articles/ArticleFragment$a;->a(Lcom/vk/articles/ArticleFragment$a;Landroid/content/Context;Lcom/vk/dto/articles/Article;Lcom/vk/dto/attachments/SnippetAttachment;Lcom/vk/articles/preload/QueryParameters;Ljava/lang/String;ILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/vk/dto/articles/Article;->H1()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const p1, 0x7f1200fd
|
|
|
|
.line 4
|
|
invoke-static {p1, v3, v2, v1}, Lcom/vk/core/util/ToastUtils;->a(IZILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-virtual {p1}, Lcom/vk/dto/articles/Article;->j1()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const p1, 0x7f1200ed
|
|
|
|
.line 6
|
|
invoke-static {p1, v3, v2, v1}, Lcom/vk/core/util/ToastUtils;->a(IZILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:cond_2
|
|
invoke-virtual {p1}, Lcom/vk/dto/articles/Article;->E1()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
const p1, 0x7f1200f5
|
|
|
|
.line 8
|
|
invoke-static {p1, v3, v2, v1}, Lcom/vk/core/util/ToastUtils;->a(IZILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const p1, 0x7f120369
|
|
|
|
.line 9
|
|
invoke-static {p1, v3, v2, v1}, Lcom/vk/core/util/ToastUtils;->a(IZILjava/lang/Object;)V
|
|
|
|
.line 10
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/vk/common/links/OpenFunctionsKt$i;->b:Lcom/vk/common/links/OpenCallback;
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
invoke-interface {p1}, Lcom/vk/common/links/OpenCallback;->a()V
|
|
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic accept(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/vk/dto/articles/Article;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/vk/common/links/OpenFunctionsKt$i;->a(Lcom/vk/dto/articles/Article;)V
|
|
|
|
return-void
|
|
.end method
|