108 lines
2.4 KiB
Smali
108 lines
2.4 KiB
Smali
.class final Lcom/vk/auth/terms/TermsController$b;
|
|
.super Landroid/text/style/ClickableSpan;
|
|
.source "TermsController.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/auth/terms/TermsController;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1a
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final a:I
|
|
|
|
.field private b:Lkotlin/jvm/b/Functions;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/jvm/b/Functions<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Lkotlin/jvm/b/Functions;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"Lkotlin/jvm/b/Functions<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V
|
|
|
|
iput-object p2, p0, Lcom/vk/auth/terms/TermsController$b;->b:Lkotlin/jvm/b/Functions;
|
|
|
|
.line 2
|
|
sget p2, Lcom/vk/auth/r/c;->vk_terms_link:I
|
|
|
|
invoke-static {p1, p2}, Landroidx/core/content/ContextCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/vk/auth/terms/TermsController$b;->a:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lkotlin/jvm/b/Functions;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/b/Functions<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lcom/vk/auth/terms/TermsController$b;->b:Lkotlin/jvm/b/Functions;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p1, p0, Lcom/vk/auth/terms/TermsController$b;->b:Lkotlin/jvm/b/Functions;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-interface {p1}, Lkotlin/jvm/b/Functions;->invoke()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lkotlin/Unit;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public updateDrawState(Landroid/text/TextPaint;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/vk/auth/terms/TermsController$b;->a:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setColor(I)V
|
|
|
|
return-void
|
|
.end method
|