ax.smali

.class Lcom/cleanmaster/gameboost/ax;
.super Ljava/lang/Object;
.source "GameBoostPresenter.java"

# interfaces
.implements Lcom/cm/plugincluster/vipinterface/pay/ICmPayCallBack;


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/cleanmaster/gameboost/aw;


# direct methods
.method constructor <init>(Lcom/cleanmaster/gameboost/aw;Ljava/lang/String;)V
    .registers 3

    .prologue
    .line 100
    iput-object p1, p0, Lcom/cleanmaster/gameboost/ax;->b:Lcom/cleanmaster/gameboost/aw;

    iput-object p2, p0, Lcom/cleanmaster/gameboost/ax;->a:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public faile(ILjava/lang/String;)V
    .registers 6

    .prologue
    .line 118
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ax;->b:Lcom/cleanmaster/gameboost/aw;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/aw;->a(Lcom/cleanmaster/gameboost/aw;)Lcom/cleanmaster/gameboost/ui/IGameBoostView;

    move-result-object v0

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ax;->a:Ljava/lang/String;

    invoke-interface {v0, v1}, Lcom/cleanmaster/gameboost/ui/IGameBoostView;->showPayFailView(Ljava/lang/String;)V

    .line 119
    const/4 v0, 0x0

    const/4 v1, 0x6

    int-to-byte v2, p1

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/gameboost/b/h;->a(BBB)V

    .line 120
    return-void
.end method

.method public success()V
    .registers 4

    .prologue
    .line 106
    invoke-static {}, Lcom/cm/plugincluster/vipinterface/VipSdkDelegate;->getVipSdk()Lcom/cm/plugincluster/vipinterface/IVipSdk;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/vipinterface/IVipSdk;->getVipManager()Lcom/cm/plugincluster/vipinterface/vip/ICmVipManager;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/vipinterface/vip/ICmVipManager;->refreshVipState()V

    .line 107
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ax;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1a

    .line 108
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ax;->b:Lcom/cleanmaster/gameboost/aw;

    iget-object v1, p0, Lcom/cleanmaster/gameboost/ax;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/gameboost/aw;->toBoost(Ljava/lang/String;)V

    .line 111
    :cond_1a
    iget-object v0, p0, Lcom/cleanmaster/gameboost/ax;->b:Lcom/cleanmaster/gameboost/aw;

    invoke-static {v0}, Lcom/cleanmaster/gameboost/aw;->a(Lcom/cleanmaster/gameboost/aw;)Lcom/cleanmaster/gameboost/ui/IGameBoostView;

    move-result-object v0

    invoke-interface {v0}, Lcom/cleanmaster/gameboost/ui/IGameBoostView;->showVipIcon()V

    .line 112
    const/4 v0, 0x1

    const/4 v1, 0x5

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/gameboost/b/h;->a(BBB)V

    .line 113
    return-void
.end method