122 lines
2.7 KiB
Smali
122 lines
2.7 KiB
Smali
.class Lcom/moji/mjweather/MainActivity$3;
|
|
.super Ljava/lang/Object;
|
|
.source "MainActivity.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/MainActivity;->j()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjweather/MainActivity;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/MainActivity;)V
|
|
.locals 0
|
|
|
|
.line 531
|
|
iput-object p1, p0, Lcom/moji/mjweather/MainActivity$3;->a:Lcom/moji/mjweather/MainActivity;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 3
|
|
|
|
const-string v0, "--avatar"
|
|
|
|
const-string v1, "AvatarCheckThread start"
|
|
|
|
.line 534
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 536
|
|
sget-object v0, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->c:Ljava/lang/Object;
|
|
|
|
monitor-enter v0
|
|
|
|
.line 538
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/moji/mjweather/MainActivity$3;->a:Lcom/moji/mjweather/MainActivity;
|
|
|
|
invoke-static {v1}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->a(Landroid/content/Context;)Z
|
|
|
|
move-result v1
|
|
|
|
.line 540
|
|
invoke-static {}, Lcom/moji/tool/DeviceTool;->W()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 541
|
|
invoke-static {v1}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->b(Z)V
|
|
|
|
.line 544
|
|
:cond_0
|
|
invoke-static {}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->g()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 546
|
|
invoke-static {}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->i()V
|
|
|
|
.line 547
|
|
invoke-static {}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->g()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 549
|
|
invoke-static {}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lcom/moji/mjweather/weather/avatar/AvatarImageUtil;->b(Ljava/lang/String;)Z
|
|
|
|
.line 552
|
|
:cond_1
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-string v0, "--avatar"
|
|
|
|
const-string v1, "AvatarCheckThread done"
|
|
|
|
.line 553
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 552
|
|
:try_start_1
|
|
monitor-exit v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|