-
Notifications
You must be signed in to change notification settings - Fork 4
/
max_speed.patch
268 lines (218 loc) · 9.56 KB
/
max_speed.patch
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
Only in EWay_Scooter_v1.2.03_speed: build
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean.smali 2023-05-19 17:13:16.880813553 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean.smali 2023-05-25 20:36:31.144032628 +0200
@@ -54,13 +54,13 @@
.locals 1
.line 94
- iget-object v0, p0, Lcom/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean;->country:Ljava/lang/String;
+ const-string v0, "Max speed"
return-object v0
.end method
.method public getMaximum()Ljava/util/List;
- .locals 1
+ .locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
@@ -70,14 +70,35 @@
}
.end annotation
- .line 102
- iget-object v0, p0, Lcom/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean;->maximum:Ljava/util/List;
+ new-instance v0, Ljava/util/ArrayList;
+
+ invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
+
+ const-string v1, "20"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "22"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "23"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "25"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "62"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object v0
.end method
.method public getPrice()Ljava/util/List;
- .locals 1
+ .locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
@@ -87,8 +108,29 @@
}
.end annotation
- .line 110
- iget-object v0, p0, Lcom/scooter/ewayscooter/Bean/CheckVersionLoginBean$DataBean;->price:Ljava/util/List;
+ new-instance v0, Ljava/util/ArrayList;
+
+ invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
+
+ const-string v1, "4"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "1"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "3"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "2"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
+
+ const-string v1, "0"
+
+ invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object v0
.end method
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/CarManagerOneFrgm$4.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/CarManagerOneFrgm$4.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/CarManagerOneFrgm$4.smali 2023-05-19 17:13:16.896814084 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/CarManagerOneFrgm$4.smali 2023-05-25 20:34:27.907774899 +0200
@@ -86,7 +86,7 @@
goto :goto_0
:cond_0
- const-string p2, "Speed limit 20km/h"
+ const-string p2, "20km/h"
.line 502
invoke-static {p3, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -94,7 +94,7 @@
goto :goto_0
:cond_1
- const-string p2, "Speed limit 23km/h"
+ const-string p2, "23km/h"
.line 499
invoke-static {p3, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -102,7 +102,7 @@
goto :goto_0
:cond_2
- const-string p2, "Speed limit 25km/h"
+ const-string p2, "25km/h"
.line 496
invoke-static {p3, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -110,7 +110,7 @@
goto :goto_0
:cond_3
- const-string p2, "Speed limit 22km/h"
+ const-string p2, "22km/h"
.line 490
invoke-static {p3, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -118,7 +118,7 @@
goto :goto_0
:cond_4
- const-string p2, ""
+ const-string p2, "Unlimited"
.line 493
invoke-static {p3, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment$4.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment$4.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment$4.smali 2023-05-19 17:13:16.896814084 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment$4.smali 2023-05-25 20:36:24.244016607 +0200
@@ -121,7 +121,7 @@
goto :goto_0
:cond_0
- const-string p1, "Speed limit 20km/h"
+ const-string p1, "20km/h"
.line 184
invoke-static {p2, p1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -129,7 +129,7 @@
goto :goto_0
:cond_1
- const-string p1, "Speed limit 23km/h"
+ const-string p1, "23km/h"
.line 181
invoke-static {p2, p1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -137,7 +137,7 @@
goto :goto_0
:cond_2
- const-string p1, "Speed limit 25km/h"
+ const-string p1, "25km/h"
.line 178
invoke-static {p2, p1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -145,7 +145,7 @@
goto :goto_0
:cond_3
- const-string p1, "Speed limit 22km/h"
+ const-string p1, "22km/h"
.line 172
invoke-static {p2, p1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -153,7 +153,7 @@
goto :goto_0
:cond_4
- const-string p1, ""
+ const-string p1, "Unlimited"
.line 175
invoke-static {p2, p1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment$6.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment$6.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment$6.smali 2023-05-19 17:13:16.896814084 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment$6.smali 2023-05-25 20:36:25.200018817 +0200
@@ -65,7 +65,7 @@
move-result p2
- const-string p3, ""
+ const-string p3, "Unlimited"
const-string p4, "Speed limit value"
@@ -90,7 +90,7 @@
goto :goto_0
:cond_0
- const-string p2, "Speed limit 20km/h"
+ const-string p2, "20km/h"
.line 381
invoke-static {p4, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -98,7 +98,7 @@
goto :goto_0
:cond_1
- const-string p2, "Speed limit 23km/h"
+ const-string p2, "23km/h"
.line 378
invoke-static {p4, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -106,7 +106,7 @@
goto :goto_0
:cond_2
- const-string p2, "Speed limit 25km/h"
+ const-string p2, "25km/h"
.line 375
invoke-static {p4, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
@@ -114,7 +114,7 @@
goto :goto_0
:cond_3
- const-string p2, "Speed limit 22km/h"
+ const-string p2, "22km/h"
.line 369
invoke-static {p4, p2}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->commitString(Ljava/lang/String;Ljava/lang/String;)V
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Fragment/TimeFragment.smali 2023-05-19 17:13:16.900814216 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Fragment/TimeFragment.smali 2023-05-25 20:39:19.152471012 +0200
@@ -1358,7 +1358,7 @@
const-string p2, "Speed limit value"
- const-string p3, ""
+ const-string p3, "Unlimited"
invoke-static {p2, p3}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
@@ -1521,7 +1521,7 @@
const-string v0, "Speed limit value"
- const-string v1, ""
+ const-string v1, "Unlimited"
invoke-static {v0, v1}, Lcom/scooter/ewayscooter/Utils/PreferenceUtil;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
diff -ru EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Utils/HttpParameterUtil.smali EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Utils/HttpParameterUtil.smali
--- EWay_Scooter_v1.2.03_original/smali/com/scooter/ewayscooter/Utils/HttpParameterUtil.smali 2023-05-19 17:13:16.920814881 +0200
+++ EWay_Scooter_v1.2.03_speed/smali/com/scooter/ewayscooter/Utils/HttpParameterUtil.smali 2023-05-22 21:31:41.405632556 +0200
@@ -125,6 +125,8 @@
.method public appoperate(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Handler;)V
.locals 8
+ return-void
+
.line 1719
sget-object v1, Lcom/scooter/ewayscooter/Utils/ConstantURL;->APPOPERATE:Ljava/lang/String;