MtpService$1.smali
.class Lcom/sandboxol/mtp/MtpService$1;
.super Ljava/lang/Object;
.source "MtpService.java"
# interfaces
.implements Lrx/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/mtp/MtpService;->initGameMTP(ILjava/lang/String;Lrx/functions/Action0;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lrx/Observer<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/sandboxol/mtp/MtpService;
.field final synthetic val$login:Lrx/functions/Action0;
# direct methods
.method constructor <init>(Lcom/sandboxol/mtp/MtpService;Lrx/functions/Action0;)V
.registers 3
.line 1
iput-object p1, p0, Lcom/sandboxol/mtp/MtpService$1;->this$0:Lcom/sandboxol/mtp/MtpService;
iput-object p2, p0, Lcom/sandboxol/mtp/MtpService$1;->val$login:Lrx/functions/Action0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCompleted()V
.registers 1
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 2
return-void
.end method
.method public onNext(Ljava/lang/Integer;)V
.registers 2
.line 2
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
if-nez p1, :cond_b
.line 3
iget-object p1, p0, Lcom/sandboxol/mtp/MtpService$1;->val$login:Lrx/functions/Action0;
invoke-interface {p1}, Lrx/functions/Action0;->call()V
:cond_b
return-void
.end method
.method public bridge synthetic onNext(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p0, p1}, Lcom/sandboxol/mtp/MtpService$1;->onNext(Ljava/lang/Integer;)V
return-void
.end method