b$b.smali

.class public final Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b$b;
.super Lcom/masala/share/proto/networkclient/http/f;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;->b()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/masala/share/proto/networkclient/http/f<",
        "Lcom/masala/share/proto/protocol/av;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic $req:Lcom/masala/share/proto/protocol/au;


# direct methods
.method constructor <init>(Lcom/masala/share/proto/protocol/au;)V
    .registers 2

    .line 65
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b$b;->$req:Lcom/masala/share/proto/protocol/au;

    invoke-direct {p0}, Lcom/masala/share/proto/networkclient/http/f;-><init>()V

    return-void
.end method


# virtual methods
.method public final onFail(Ljava/lang/Throwable;I)V
    .registers 4

    .line 68
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b$b;->$req:Lcom/masala/share/proto/protocol/au;

    iget p1, p1, Lcom/masala/share/proto/protocol/au;->a:I

    const-string v0, "fetchAuthorizeState fail!"

    invoke-static {v0, p1, p2}, Lcom/masala/share/utils/j;->a(Ljava/lang/String;II)Ljava/lang/String;

    move-result-object p1

    const-string p2, "ProfileAuthorityManager"

    invoke-static {p2, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method public final onResponse(Lcom/masala/share/proto/protocol/av;)V
    .registers 4

    .line 72
    invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "fetchAuthorizeState! res = "

    invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "ProfileAuthorityManager"

    invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    if-nez p1, :cond_1f

    .line 74
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b$b;->$req:Lcom/masala/share/proto/protocol/au;

    iget p1, p1, Lcom/masala/share/proto/protocol/au;->a:I

    const-string v0, "fetchAuthorizeState fail! res == null"

    invoke-static {v0, p1}, Lcom/masala/share/utils/j;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object p1

    invoke-static {v1, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 77
    :cond_1f
    iget p1, p1, Lcom/masala/share/proto/protocol/av;->b:I

    const/4 v0, 0x1

    if-ne p1, v0, :cond_2a

    .line 78
    sget-object p1, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;->a:Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;

    const/4 p1, 0x0

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b;->a(Z)V

    :cond_2a
    return-void
.end method

.method public final bridge synthetic onResponse(Lsg/bigo/svcapi/IProtocol;)V
    .registers 2

    .line 65
    check-cast p1, Lcom/masala/share/proto/protocol/av;

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/home/profileauthority/b$b;->onResponse(Lcom/masala/share/proto/protocol/av;)V

    return-void
.end method