r.smali
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.class public final Lcom/uyumao/r;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final a:Lorg/json/JSONObject;
# direct methods
.method public constructor <init>(Lorg/json/JSONObject;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;
return-void
.end method
.method public static synthetic a(Lcom/uyumao/r;)Lorg/json/JSONObject;
.locals 0
iget-object p0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;
return-object p0
.end method
# virtual methods
.method public run()V
.locals 7
iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;
if-nez v0, :cond_0
return-void
:cond_0
:try_start_0
sget-object v3, Lcom/uyumao/e;->a:Landroid/content/Context;
invoke-static {v3}, Lcom/umeng/commonsdk/utils/UMUtils;->getAppkey(Landroid/content/Context;)Ljava/lang/String;
move-result-object v6
iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;
const-string v1, "batch"
const/16 v2, 0x12c
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v0
const/16 v1, 0x64
invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I
move-result v5
iget-object v0, p0, Lcom/uyumao/r;->a:Lorg/json/JSONObject;
const-string v1, "action"
const/4 v2, 0x1
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v4
if-eq v4, v2, :cond_1
const/4 v0, 0x2
if-eq v4, v0, :cond_1
return-void
:cond_1
new-instance v0, Lcom/uyumao/r$a;
move-object v1, v0
move-object v2, p0
invoke-direct/range {v1 .. v6}, Lcom/uyumao/r$a;-><init>(Lcom/uyumao/r;Landroid/content/Context;IILjava/lang/String;)V
const-wide/16 v1, 0x0
sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
invoke-static {v0, v1, v2, v3}, Lcom/uyumao/s;->a(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
return-void
.end method