| | | |
Offset 17, 135 lines modified | Offset 17, 135 lines modified |
| |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
| |
19 | .method·static·synthetic·access$000()Ljava/lang/String; | 19 | .method·static·synthetic·access$000()Ljava/lang/String; |
20 | ····.locals·1 | 20 | ····.locals·1 |
| |
21 | ····.line·46 | 21 | ····.line·48 |
22 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->TAG:Ljava/lang/String; | 22 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->TAG:Ljava/lang/String; |
| |
23 | ····return-object·v0 | 23 | ····return-object·v0 |
24 | .end·method | 24 | .end·method |
| |
25 | .method·public·static·addIntentParameters(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;Z)V | 25 | .method·public·static·addIntentParameters(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;Z)V |
26 | ····.locals·4 | 26 | ····.locals·4 |
| |
27 | ····const-string·v0,·"EXTRA_CONTEXT" | 27 | ····const-string·v0,·"EXTRA_CONTEXT" |
| |
28 | ····.line·190 | 28 | ····.line·215 |
29 | ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z | 29 | ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z |
| |
30 | ····move-result·v1 | 30 | ····move-result·v1 |
| |
31 | ····if-nez·v1,·:cond_0 | 31 | ····if-nez·v1,·:cond_0 |
| |
32 | ····.line·192 | 32 | ····.line·217 |
33 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 33 | ····invoke-virtual·{p1,·v0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
34 | ····.line·195 | 34 | ····.line·220 |
35 | ····:cond_0 | 35 | ····:cond_0 |
36 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 36 | ····invoke-virtual·{p0},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
| |
37 | ····move-result-object·p0 | 37 | ····move-result-object·p0 |
| |
38 | ····const/high16·p2,·0x1110000 | 38 | ····const/high16·p2,·0x1110000 |
| |
39 | ····.line·197 | 39 | ····.line·222 |
40 | ····invoke-virtual·{p0,·p2},·Landroid/content/res/Resources;->getBoolean(I)Z | 40 | ····invoke-virtual·{p0,·p2},·Landroid/content/res/Resources;->getBoolean(I)Z |
| |
41 | ····move-result·p2 | 41 | ····move-result·p2 |
| |
42 | ····if-eqz·p3,·:cond_1 | 42 | ····if-eqz·p3,·:cond_1 |
| |
43 | ····if-eqz·p2,·:cond_1 | 43 | ····if-eqz·p2,·:cond_1 |
| |
44 | ····const/4·p2,·0x1 | 44 | ····const/4·p2,·0x1 |
| |
45 | ····new-array·p3,·p2,·[Ljava/lang/String; | 45 | ····new-array·p3,·p2,·[Ljava/lang/String; |
| |
46 | ····const·v0,·0x104001b | 46 | ····const·v0,·0x104001b |
| |
47 | ····.line·201 | 47 | ····.line·226 |
48 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 48 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
49 | ····move-result-object·v0 | 49 | ····move-result-object·v0 |
| |
50 | ····const/4·v1,·0x0 | 50 | ····const/4·v1,·0x0 |
| |
51 | ····aput-object·v0,·p3,·v1 | 51 | ····aput-object·v0,·p3,·v1 |
| |
52 | ····new-array·p2,·p2,·[Ljava/lang/String; | 52 | ····new-array·p2,·p2,·[Ljava/lang/String; |
| |
53 | ····const·v0,·0x104001c | 53 | ····const·v0,·0x104001c |
| |
54 | ····.line·203 | 54 | ····.line·228 |
55 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 55 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
56 | ····move-result-object·v0 | 56 | ····move-result-object·v0 |
| |
57 | ····aput-object·v0,·p2,·v1 | 57 | ····aput-object·v0,·p2,·v1 |
| |
58 | ····const·v0,·0x104001d | 58 | ····const·v0,·0x104001d |
| |
59 | ····.line·205 | 59 | ····.line·230 |
60 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 60 | ····invoke-virtual·{p0,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
61 | ····move-result-object·v0 | 61 | ····move-result-object·v0 |
| |
62 | ····const·v1,·0x104001e | 62 | ····const·v1,·0x104001e |
| |
63 | ····.line·207 | 63 | ····.line·232 |
64 | ····invoke-virtual·{p0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 64 | ····invoke-virtual·{p0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
65 | ····move-result-object·v1 | 65 | ····move-result-object·v1 |
| |
66 | ····const·v2,·0x104001f | 66 | ····const·v2,·0x104001f |
| |
67 | ····.line·209 | 67 | ····.line·234 |
68 | ····invoke-virtual·{p0,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 68 | ····invoke-virtual·{p0,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
69 | ····move-result-object·v2 | 69 | ····move-result-object·v2 |
| |
70 | ····const·v3,·0x1040020 | 70 | ····const·v3,·0x1040020 |
| |
71 | ····.line·211 | 71 | ····.line·236 |
72 | ····invoke-virtual·{p0,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 72 | ····invoke-virtual·{p0,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
| |
73 | ····move-result-object·p0 | 73 | ····move-result-object·p0 |
| |
74 | ····.line·212 | 74 | ····.line·237 |
75 | ····invoke-virtual·{p1,·v0,·p3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; | 75 | ····invoke-virtual·{p1,·v0,·p3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; |
| |
76 | ····.line·213 | 76 | ····.line·238 |
77 | ····invoke-virtual·{p1,·v1,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; | 77 | ····invoke-virtual·{p1,·v1,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; |
| |
78 | ····.line·214 | 78 | ····.line·239 |
79 | ····invoke-virtual·{p1,·v2,·p3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; | 79 | ····invoke-virtual·{p1,·v2,·p3},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; |
| |
80 | ····.line·215 | 80 | ····.line·240 |
81 | ····invoke-virtual·{p1,·p0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; | 81 | ····invoke-virtual·{p1,·p0,·p2},·Landroid/content/Intent;->putExtra(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent; |
| |
82 | ····:cond_1 | 82 | ····:cond_1 |
83 | ····const/4·p0,·0x3 | 83 | ····const/4·p0,·0x3 |
| |
84 | ····const-string·p2,·"EXTRA_THEME" | 84 | ····const-string·p2,·"EXTRA_THEME" |
| |
85 | ····.line·217 | 85 | ····.line·242 |
86 | ····invoke-virtual·{p1,·p2,·p0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; | 86 | ····invoke-virtual·{p1,·p2,·p0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; |
| |
87 | ····return-void | 87 | ····return-void |
88 | .end·method | 88 | .end·method |
| |
89 | .method·public·static·getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 89 | .method·public·static·getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
90 | ····.locals·4 | 90 | ····.locals·4 |
| |
91 | ····const-string·v0,·"EXTRA_BACKUP_URI" | 91 | ····const-string·v0,·"EXTRA_BACKUP_URI" |
| |
92 | ····.line·157 | 92 | ····.line·182 |
93 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 93 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
| |
94 | ····move-result-object·v1 | 94 | ····move-result-object·v1 |
| |
95 | ····const-string·v2,·"device_provisioned" | 95 | ····const-string·v2,·"device_provisioned" |
| |
96 | ····const/4·v3,·0x0 | 96 | ····const/4·v3,·0x0 |
Offset 159, 47 lines modified | Offset 159, 47 lines modified |
159 | ····if-nez·v1,·:cond_0 | 159 | ····if-nez·v1,·:cond_0 |
| |
160 | ····return-object·v2 | 160 | ····return-object·v2 |
| |
161 | ····:cond_0 | 161 | ····:cond_0 |
162 | ····const/4·v1,·0x3 | 162 | ····const/4·v1,·0x3 |
| |
163 | ····.line·162 | 163 | ····.line·187 |
164 | ····:try_start_0 | 164 | ····:try_start_0 |
165 | ····invoke-static·{p1,·v1},·Landroid/content/Intent;->parseUri(Ljava/lang/String;I)Landroid/content/Intent; | 165 | ····invoke-static·{p1,·v1},·Landroid/content/Intent;->parseUri(Ljava/lang/String;I)Landroid/content/Intent; |
| |
166 | ····move-result-object·v1 | 166 | ····move-result-object·v1 |
| |
167 | ····const/4·v3,·0x1 | 167 | ····const/4·v3,·0x1 |
| |
168 | ····.line·164 | 168 | ····.line·189 |
169 | ····invoke-static·{p0,·v1,·p2,·v3},·Lcom/android/settingslib/HelpUtils;->addIntentParameters(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;Z)V | 169 | ····invoke-static·{p0,·v1,·p2,·v3},·Lcom/android/settingslib/HelpUtils;->addIntentParameters(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;Z)V |
| |
170 | ····.line·165 | 170 | ····.line·190 |
171 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 171 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
172 | ····move-result-object·v3 | 172 | ····move-result-object·v3 |
| |
173 | ····invoke-virtual·{v1,·v3},·Landroid/content/Intent;->resolveActivity(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName; | 173 | ····invoke-virtual·{v1,·v3},·Landroid/content/Intent;->resolveActivity(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName; |
| |
174 | ····move-result-object·v3 | 174 | ····move-result-object·v3 |
| |
175 | ····if-eqz·v3,·:cond_1 | 175 | ····if-eqz·v3,·:cond_1 |
| |
176 | ····return-object·v1 | 176 | ····return-object·v1 |
| |
177 | ····.line·168 | 177 | ····.line·193 |
178 | ····:cond_1 | 178 | ····:cond_1 |
179 | ····invoke-virtual·{v1,·v0},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z | 179 | ····invoke-virtual·{v1,·v0},·Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z |
| |
180 | ····move-result·v3 | 180 | ····move-result·v3 |
| |
181 | ····if-eqz·v3,·:cond_2 | 181 | ····if-eqz·v3,·:cond_2 |
| |
182 | ····.line·170 | 182 | ····.line·195 |
183 | ····invoke-virtual·{v1,·v0},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; | 183 | ····invoke-virtual·{v1,·v0},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; |
| |
184 | ····move-result-object·v0 | 184 | ····move-result-object·v0 |
| |
185 | ····invoke-static·{p0,·v0,·p2},·Lcom/android/settingslib/HelpUtils;->getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 185 | ····invoke-static·{p0,·v0,·p2},·Lcom/android/settingslib/HelpUtils;->getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
186 | ····move-result-object·p0 | 186 | ····move-result-object·p0 |
Offset 207, 84 lines modified | Offset 207, 84 lines modified |
207 | ····.catch·Ljava/net/URISyntaxException;·{:try_start_0·..·:try_end_0}·:catch_0 | 207 | ····.catch·Ljava/net/URISyntaxException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
208 | ····return-object·p0 | 208 | ····return-object·p0 |
| |
209 | ····:cond_2 | 209 | ····:cond_2 |
210 | ····return-object·v2 | 210 | ····return-object·v2 |
| |
211 | ····.line·178 | 211 | ····.line·203 |
212 | ····:catch_0 | 212 | ····:catch_0 |
213 | ····invoke-static·{p1},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; | 213 | ····invoke-static·{p1},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; |
| |
214 | ····move-result-object·p1 | 214 | ····move-result-object·p1 |
| |
215 | ····invoke-static·{p0,·p1},·Lcom/android/settingslib/HelpUtils;->uriWithAddedParameters(Landroid/content/Context;Landroid/net/Uri;)Landroid/net/Uri; | 215 | ····invoke-static·{p0,·p1},·Lcom/android/settingslib/HelpUtils;->uriWithAddedParameters(Landroid/content/Context;Landroid/net/Uri;)Landroid/net/Uri; |
| |
216 | ····move-result-object·p0 | 216 | ····move-result-object·p0 |
| |
217 | ····.line·182 | 217 | ····.line·207 |
218 | ····new-instance·p1,·Landroid/content/Intent; | 218 | ····new-instance·p1,·Landroid/content/Intent; |
| |
219 | ····const-string·p2,·"android.intent.action.VIEW" | 219 | ····const-string·p2,·"android.intent.action.VIEW" |
| |
220 | ····invoke-direct·{p1,·p2,·p0},·Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V | 220 | ····invoke-direct·{p1,·p2,·p0},·Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V |
| |
221 | ····const/high16·p0,·0x10800000 | 221 | ····const/high16·p0,·0x10800000 |
| |
222 | ····.line·183 | 222 | ····.line·208 |
223 | ····invoke-virtual·{p1,·p0},·Landroid/content/Intent;->setFlags(I)Landroid/content/Intent; | 223 | ····invoke-virtual·{p1,·p0},·Landroid/content/Intent;->setFlags(I)Landroid/content/Intent; |
| |
224 | ····return-object·p1 | 224 | ····return-object·p1 |
225 | .end·method | 225 | .end·method |
| |
226 | .method·public·static·prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/Menu;ILjava/lang/String;)Z | 226 | .method·public·static·prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/Menu;ILjava/lang/String;)Z |
227 | ····.locals·3 | 227 | ····.locals·3 |
| |
228 | ····const/16·v0,·0x65 | 228 | ····const/16·v0,·0x65 |
| |
229 | ····.line·90 | 229 | ····.line·110 |
230 | ····invoke-interface·{p1,·v0},·Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem; | 230 | ····invoke-interface·{p1,·v0},·Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem; |
| |
231 | ····move-result-object·v1 | 231 | ····move-result-object·v1 |
| |
232 | ····const/4·v2,·0x0 | 232 | ····const/4·v2,·0x0 |
| |
233 | ····if-eqz·v1,·:cond_0 | 233 | ····if-eqz·v1,·:cond_0 |
| |
234 | ····return·v2 | 234 | ····return·v2 |
| |
235 | ····.line·93 | 235 | ····.line·113 |
236 | ····:cond_0 | 236 | ····:cond_0 |
237 | ····sget·v1,·Lcom/android/settingslib/widget/R$string;->help_feedback_label:I | 237 | ····sget·v1,·Lcom/android/settingslib/widget/R$string;->help_feedback_label:I |
| |
238 | ····invoke-interface·{p1,·v2,·v0,·v2,·v1},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; | 238 | ····invoke-interface·{p1,·v2,·v0,·v2,·v1},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; |
| |
239 | ····move-result-object·p1 | 239 | ····move-result-object·p1 |
| |
240 | ····.line·94 | 240 | ····.line·114 |
241 | ····sget·v0,·Lcom/android/settingslib/widget/R$drawable;->ic_help_actionbar:I | 241 | ····sget·v0,·Lcom/android/settingslib/widget/R$drawable;->ic_help_actionbar:I |
| |
242 | ····invoke-interface·{p1,·v0},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; | 242 | ····invoke-interface·{p1,·v0},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; |
| |
243 | ····.line·95 | 243 | ····.line·115 |
244 | ····invoke-virtual·{p0,·p2},·Landroid/app/Activity;->getString(I)Ljava/lang/String; | 244 | ····invoke-virtual·{p0,·p2},·Landroid/app/Activity;->getString(I)Ljava/lang/String; |
| |
245 | ····move-result-object·p2 | 245 | ····move-result-object·p2 |
| |
246 | ····invoke-static·{p0,·p1,·p2,·p3},·Lcom/android/settingslib/HelpUtils;->prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/MenuItem;Ljava/lang/String;Ljava/lang/String;)Z | 246 | ····invoke-static·{p0,·p1,·p2,·p3},·Lcom/android/settingslib/HelpUtils;->prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/MenuItem;Ljava/lang/String;Ljava/lang/String;)Z |
| |
247 | ····move-result·p0 | 247 | ····move-result·p0 |
| |
248 | ····return·p0 | 248 | ····return·p0 |
249 | .end·method | 249 | .end·method |
| |
250 | .method·static·prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/MenuItem;Ljava/lang/String;Ljava/lang/String;)Z | 250 | .method·static·prepareHelpMenuItem(Landroid/app/Activity;Landroid/view/MenuItem;Ljava/lang/String;Ljava/lang/String;)Z |
251 | ····.locals·3 | 251 | ····.locals·3 |
| |
252 | ····.line·110 | 252 | ····.line·131 |
253 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; | 253 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; |
| |
254 | ····move-result-object·v0 | 254 | ····move-result-object·v0 |
| |
255 | ····const-string·v1,·"device_provisioned" | 255 | ····const-string·v1,·"device_provisioned" |
| |
256 | ····const/4·v2,·0x0 | 256 | ····const/4·v2,·0x0 |
Offset 293, 142 lines modified | Offset 293, 142 lines modified |
| |
293 | ····move-result·v0 | 293 | ····move-result·v0 |
| |
294 | ····if-nez·v0,·:cond_0 | 294 | ····if-nez·v0,·:cond_0 |
| |
295 | ····return·v2 | 295 | ····return·v2 |
| |
296 | ····.line·113 | 296 | ····.line·134 |
297 | ····:cond_0 | 297 | ····:cond_0 |
298 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 298 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
299 | ····move-result·v0 | 299 | ····move-result·v0 |
| |
300 | ····if-eqz·v0,·:cond_1 | 300 | ····if-eqz·v0,·:cond_1 |
| |
301 | ····.line·115 | 301 | ····.line·136 |
302 | ····invoke-interface·{p1,·v2},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; | 302 | ····invoke-interface·{p1,·v2},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; |
| |
303 | ····return·v2 | 303 | ····return·v2 |
| |
304 | ····.line·120 | 304 | ····.line·141 |
305 | ····:cond_1 | 305 | ····:cond_1 |
306 | ····invoke-static·{p0,·p2,·p3},·Lcom/android/settingslib/HelpUtils;->getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; | 306 | ····invoke-static·{p0,·p2,·p3},·Lcom/android/settingslib/HelpUtils;->getHelpIntent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; |
| |
307 | ····move-result-object·p2 | 307 | ····move-result-object·p2 |
| |
308 | ····if-eqz·p2,·:cond_2 | 308 | ····if-eqz·p2,·:cond_2 |
| |
309 | ····.line·125 | 309 | ····.line·146 |
310 | ····new-instance·p3,·Lcom/android/settingslib/HelpUtils$1; | 310 | ····new-instance·p3,·Lcom/android/settingslib/HelpUtils$1; |
| |
311 | ····invoke-direct·{p3,·p0,·p2},·Lcom/android/settingslib/HelpUtils$1;-><init>(Landroid/app/Activity;Landroid/content/Intent;)V | 311 | ····invoke-direct·{p3,·p0,·p2},·Lcom/android/settingslib/HelpUtils$1;-><init>(Landroid/app/Activity;Landroid/content/Intent;)V |
| |
312 | ····invoke-interface·{p1,·p3},·Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem; | 312 | ····invoke-interface·{p1,·p3},·Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem; |
| |
313 | ····const/4·p0,·0x2 | 313 | ····const/4·p0,·0x2 |
| |
314 | ····.line·143 | 314 | ····.line·164 |
315 | ····invoke-interface·{p1,·p0},·Landroid/view/MenuItem;->setShowAsAction(I)V | 315 | ····invoke-interface·{p1,·p0},·Landroid/view/MenuItem;->setShowAsAction(I)V |
| |
316 | ····const/4·p0,·0x1 | 316 | ····const/4·p0,·0x1 |
| |
317 | ····.line·144 | 317 | ····.line·165 |
318 | ····invoke-interface·{p1,·p0},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; | 318 | ····invoke-interface·{p1,·p0},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; |
| |
319 | ····return·p0 | 319 | ····return·p0 |
| |
320 | ····.line·146 | 320 | ····.line·167 |
321 | ····:cond_2 | 321 | ····:cond_2 |
322 | ····invoke-interface·{p1,·v2},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; | 322 | ····invoke-interface·{p1,·v2},·Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem; |
| |
323 | ····return·v2 | 323 | ····return·v2 |
324 | .end·method | 324 | .end·method |
| |
325 | .method·private·static·uriWithAddedParameters(Landroid/content/Context;Landroid/net/Uri;)Landroid/net/Uri; | 325 | .method·public·static·uriWithAddedParameters(Landroid/content/Context;Landroid/net/Uri;)Landroid/net/Uri; |
326 | ····.locals·4 | 326 | ····.locals·4 |
| |
327 | ····.line·227 | 327 | ····.line·253 |
328 | ····invoke-virtual·{p1},·Landroid/net/Uri;->buildUpon()Landroid/net/Uri$Builder; | 328 | ····invoke-virtual·{p1},·Landroid/net/Uri;->buildUpon()Landroid/net/Uri$Builder; |
| |
329 | ····move-result-object·p1 | 329 | ····move-result-object·p1 |
| |
330 | ····.line·230 | 330 | ····.line·256 |
331 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 331 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
| |
332 | ····move-result-object·v0 | 332 | ····move-result-object·v0 |
| |
333 | ····invoke-virtual·{v0},·Ljava/util/Locale;->toString()Ljava/lang/String; | 333 | ····invoke-virtual·{v0},·Ljava/util/Locale;->toString()Ljava/lang/String; |
| |
334 | ····move-result-object·v0 | 334 | ····move-result-object·v0 |
| |
335 | ····const-string·v1,·"hl" | 335 | ····const-string·v1,·"hl" |
| |
336 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 336 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
| |
337 | ····.line·233 | 337 | ····.line·259 |
338 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->sCachedVersionCode:Ljava/lang/String; | 338 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->sCachedVersionCode:Ljava/lang/String; |
| |
339 | ····const-string·v1,·"version" | 339 | ····const-string·v1,·"version" |
| |
340 | ····if-nez·v0,·:cond_0 | 340 | ····if-nez·v0,·:cond_0 |
| |
341 | ····.line·237 | 341 | ····.line·263 |
342 | ····:try_start_0 | 342 | ····:try_start_0 |
343 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 343 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
344 | ····move-result-object·v0 | 344 | ····move-result-object·v0 |
| |
345 | ····.line·238 | 345 | ····.line·264 |
346 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageName()Ljava/lang/String; | 346 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageName()Ljava/lang/String; |
| |
347 | ····move-result-object·p0 | 347 | ····move-result-object·p0 |
| |
348 | ····const/4·v2,·0x0 | 348 | ····const/4·v2,·0x0 |
| |
349 | ····.line·237 | 349 | ····.line·263 |
350 | ····invoke-virtual·{v0,·p0,·v2},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; | 350 | ····invoke-virtual·{v0,·p0,·v2},·Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; |
| |
351 | ····move-result-object·p0 | 351 | ····move-result-object·p0 |
| |
352 | ····.line·239 | 352 | ····.line·265 |
353 | ····invoke-virtual·{p0},·Landroid/content/pm/PackageInfo;->getLongVersionCode()J | 353 | ····invoke-virtual·{p0},·Landroid/content/pm/PackageInfo;->getLongVersionCode()J |
| |
354 | ····move-result-wide·v2 | 354 | ····move-result-wide·v2 |
| |
355 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->toString(J)Ljava/lang/String; | 355 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->toString(J)Ljava/lang/String; |
| |
356 | ····move-result-object·p0 | 356 | ····move-result-object·p0 |
| |
357 | ····sput-object·p0,·Lcom/android/settingslib/HelpUtils;->sCachedVersionCode:Ljava/lang/String; | 357 | ····sput-object·p0,·Lcom/android/settingslib/HelpUtils;->sCachedVersionCode:Ljava/lang/String; |
| |
358 | ····.line·242 | 358 | ····.line·268 |
359 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 359 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
360 | ····:try_end_0 | 360 | ····:try_end_0 |
361 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 361 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
362 | ····goto·:goto_0 | 362 | ····goto·:goto_0 |
| |
363 | ····:catch_0 | 363 | ····:catch_0 |
364 | ····move-exception·p0 | 364 | ····move-exception·p0 |
| |
365 | ····.line·246 | 365 | ····.line·272 |
366 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->TAG:Ljava/lang/String; | 366 | ····sget-object·v0,·Lcom/android/settingslib/HelpUtils;->TAG:Ljava/lang/String; |
| |
367 | ····const-string·v1,·"Invalid·package·name·for·context" | 367 | ····const-string·v1,·"Invalid·package·name·for·context" |
| |
368 | ····invoke-static·{v0,·v1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 368 | ····invoke-static·{v0,·v1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
369 | ····goto·:goto_0 | 369 | ····goto·:goto_0 |
| |
370 | ····.line·249 | 370 | ····.line·275 |
371 | ····:cond_0 | 371 | ····:cond_0 |
372 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 372 | ····invoke-virtual·{p1,·v1,·v0},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
| |
373 | ····.line·253 | 373 | ····.line·279 |
374 | ····:goto_0 | 374 | ····:goto_0 |
375 | ····invoke-virtual·{p1},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; | 375 | ····invoke-virtual·{p1},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; |
| |
376 | ····move-result-object·p0 | 376 | ····move-result-object·p0 |
| |
377 | ····return-object·p0 | 377 | ····return-object·p0 |
378 | .end·method | 378 | .end·method |