173 lines
3.7 KiB
Smali
173 lines
3.7 KiB
Smali
.class Lcom/moji/weatherprovider/update/BaseUpdater$2;
|
|
.super Lcom/moji/requestcore/MJBaseHttpCallback;
|
|
.source "BaseUpdater.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/weatherprovider/update/BaseUpdater;->c(Lcom/moji/common/area/AreaInfo;Lcom/moji/weatherprovider/update/Result;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/requestcore/MJBaseHttpCallback<",
|
|
"Ljava/io/InputStream;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/weatherprovider/update/Result;
|
|
|
|
.field final synthetic b:Lcom/moji/weatherprovider/update/BaseUpdater;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/weatherprovider/update/BaseUpdater;Lcom/moji/weatherprovider/update/Result;)V
|
|
.locals 0
|
|
|
|
.line 306
|
|
iput-object p1, p0, Lcom/moji/weatherprovider/update/BaseUpdater$2;->b:Lcom/moji/weatherprovider/update/BaseUpdater;
|
|
|
|
iput-object p2, p0, Lcom/moji/weatherprovider/update/BaseUpdater$2;->a:Lcom/moji/weatherprovider/update/Result;
|
|
|
|
invoke-direct {p0}, Lcom/moji/requestcore/MJBaseHttpCallback;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Ljava/io/InputStream;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onFailed(Lcom/moji/requestcore/MJException;)V
|
|
.locals 2
|
|
|
|
.line 314
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x1f4
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 315
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x194
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 316
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x1f5
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 317
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x258
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 318
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x259
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 319
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x25a
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
.line 320
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x25b
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 322
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/moji/requestcore/MJException;->getCode()I
|
|
|
|
move-result p1
|
|
|
|
const/16 v0, 0xc6
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
.line 323
|
|
iget-object p1, p0, Lcom/moji/weatherprovider/update/BaseUpdater$2;->a:Lcom/moji/weatherprovider/update/Result;
|
|
|
|
const/16 v0, 0x10
|
|
|
|
iput v0, p1, Lcom/moji/weatherprovider/update/Result;->a:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 325
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/moji/weatherprovider/update/BaseUpdater$2;->a:Lcom/moji/weatherprovider/update/Result;
|
|
|
|
const/16 v0, 0xc
|
|
|
|
iput v0, p1, Lcom/moji/weatherprovider/update/Result;->a:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 321
|
|
:cond_2
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/moji/weatherprovider/update/BaseUpdater$2;->a:Lcom/moji/weatherprovider/update/Result;
|
|
|
|
const/16 v0, 0xf
|
|
|
|
iput v0, p1, Lcom/moji/weatherprovider/update/Result;->a:I
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method protected synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 306
|
|
check-cast p1, Ljava/io/InputStream;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/weatherprovider/update/BaseUpdater$2;->a(Ljava/io/InputStream;)V
|
|
|
|
return-void
|
|
.end method
|