LaunchActivity$3.smali

.class Lim/tpelyyftgw/ui/LaunchActivity$3;
.super Ljava/lang/Object;
.source "LaunchActivity.java"

# interfaces
.implements Lim/tpelyyftgw/ui/components/TermsOfServiceView$TermsOfServiceViewDelegate;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/LaunchActivity;->showTosActivity(ILim/tpelyyftgw/tgnet/TLRPC$TL_help_termsOfService;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/ui/LaunchActivity;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/LaunchActivity;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/LaunchActivity;

    .line 1070
    iput-object p1, p0, Lim/tpelyyftgw/ui/LaunchActivity$3;->this$0:Lim/tpelyyftgw/ui/LaunchActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAcceptTerms(I)V
    .registers 4
    .param p1, "account"    # I

    .line 1073
    invoke-static {p1}, Lim/tpelyyftgw/messenger/UserConfig;->getInstance(I)Lim/tpelyyftgw/messenger/UserConfig;

    move-result-object v0

    const/4 v1, 0x0

    iput-object v1, v0, Lim/tpelyyftgw/messenger/UserConfig;->unacceptedTermsOfService:Lim/tpelyyftgw/tgnet/TLRPC$TL_help_termsOfService;

    .line 1074
    invoke-static {p1}, Lim/tpelyyftgw/messenger/UserConfig;->getInstance(I)Lim/tpelyyftgw/messenger/UserConfig;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/messenger/UserConfig;->saveConfig(Z)V

    .line 1075
    iget-object v0, p0, Lim/tpelyyftgw/ui/LaunchActivity$3;->this$0:Lim/tpelyyftgw/ui/LaunchActivity;

    iget-object v0, v0, Lim/tpelyyftgw/ui/LaunchActivity;->drawerLayoutContainer:Lim/tpelyyftgw/ui/actionbar/DrawerLayoutContainer;

    invoke-virtual {v0, v1, v1}, Lim/tpelyyftgw/ui/actionbar/DrawerLayoutContainer;->setAllowOpenDrawer(ZZ)V

    .line 1076
    iget-object v0, p0, Lim/tpelyyftgw/ui/LaunchActivity$3;->this$0:Lim/tpelyyftgw/ui/LaunchActivity;

    invoke-static {v0}, Lim/tpelyyftgw/ui/LaunchActivity;->access$700(Lim/tpelyyftgw/ui/LaunchActivity;)Lim/tpelyyftgw/ui/components/TermsOfServiceView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TermsOfServiceView;->setVisibility(I)V

    .line 1077
    return-void
.end method

.method public onDeclineTerms(I)V
    .registers 4
    .param p1, "account"    # I

    .line 1081
    iget-object v0, p0, Lim/tpelyyftgw/ui/LaunchActivity$3;->this$0:Lim/tpelyyftgw/ui/LaunchActivity;

    iget-object v0, v0, Lim/tpelyyftgw/ui/LaunchActivity;->drawerLayoutContainer:Lim/tpelyyftgw/ui/actionbar/DrawerLayoutContainer;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, v1}, Lim/tpelyyftgw/ui/actionbar/DrawerLayoutContainer;->setAllowOpenDrawer(ZZ)V

    .line 1082
    iget-object v0, p0, Lim/tpelyyftgw/ui/LaunchActivity$3;->this$0:Lim/tpelyyftgw/ui/LaunchActivity;

    invoke-static {v0}, Lim/tpelyyftgw/ui/LaunchActivity;->access$700(Lim/tpelyyftgw/ui/LaunchActivity;)Lim/tpelyyftgw/ui/components/TermsOfServiceView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/TermsOfServiceView;->setVisibility(I)V

    .line 1083
    return-void
.end method