| | | |
Offset 214, 51 lines modified | Offset 214, 51 lines modified |
214 | ············"Landroid/util/Pair<", | 214 | ············"Landroid/util/Pair<", |
215 | ············"Ljava/lang/String;", | 215 | ············"Ljava/lang/String;", |
216 | ············"Ljava/lang/String;", | 216 | ············"Ljava/lang/String;", |
217 | ············">;" | 217 | ············">;" |
218 | ········} | 218 | ········} |
219 | ····.end·annotation | 219 | ····.end·annotation |
| |
220 | ····.line·195 | 220 | ····.line·192 |
221 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; | 221 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; |
| |
222 | ····move-result-object·v0 | 222 | ····move-result-object·v0 |
| |
223 | ····const/4·v1,·0x0 | 223 | ····const/4·v1,·0x0 |
| |
224 | ····if-nez·v0,·:cond_0 | 224 | ····if-nez·v0,·:cond_0 |
| |
225 | ····return-object·v1 | 225 | ····return-object·v1 |
| |
226 | ····.line·199 | 226 | ····.line·196 |
227 | ····:cond_0 | 227 | ····:cond_0 |
228 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; | 228 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getExtras()Landroid/os/Bundle; |
| |
229 | ····move-result-object·v0 | 229 | ····move-result-object·v0 |
| |
230 | ····invoke-static·{v0},·Lcom/android/textclassifier/ExtrasUtils;->getActionIntent(Landroid/os/Bundle;)Landroid/content/Intent; | 230 | ····invoke-static·{v0},·Lcom/android/textclassifier/ExtrasUtils;->getActionIntent(Landroid/os/Bundle;)Landroid/content/Intent; |
| |
231 | ····move-result-object·v0 | 231 | ····move-result-object·v0 |
| |
232 | ····.line·200 | 232 | ····.line·197 |
233 | ····invoke-virtual·{v0},·Landroid/content/Intent;->getComponent()Landroid/content/ComponentName; | 233 | ····invoke-virtual·{v0},·Landroid/content/Intent;->getComponent()Landroid/content/ComponentName; |
| |
234 | ····move-result-object·v0 | 234 | ····move-result-object·v0 |
| |
235 | ····if-nez·v0,·:cond_1 | 235 | ····if-nez·v0,·:cond_1 |
| |
236 | ····goto·:goto_0 | 236 | ····goto·:goto_0 |
| |
237 | ····.line·202 | 237 | ····.line·199 |
238 | ····:cond_1 | 238 | ····:cond_1 |
239 | ····invoke-virtual·{v0},·Landroid/content/ComponentName;->getPackageName()Ljava/lang/String; | 239 | ····invoke-virtual·{v0},·Landroid/content/ComponentName;->getPackageName()Ljava/lang/String; |
| |
240 | ····move-result-object·v1 | 240 | ····move-result-object·v1 |
| |
241 | ····.line·203 | 241 | ····.line·200 |
242 | ····:goto_0 | 242 | ····:goto_0 |
243 | ····new-instance·v0,·Landroid/util/Pair; | 243 | ····new-instance·v0,·Landroid/util/Pair; |
| |
244 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; | 244 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationAction;->getAction()Landroid/app/RemoteAction; |
| |
245 | ····move-result-object·p0 | 245 | ····move-result-object·p0 |
| |
Offset 278, 15 lines modified | Offset 278, 15 lines modified |
278 | .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I | 278 | .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I |
279 | ····.locals·3 | 279 | ····.locals·3 |
| |
280 | ····const/4·v0,·0x3 | 280 | ····const/4·v0,·0x3 |
| |
281 | ····new-array·v0,·v0,·[Ljava/lang/Object; | 281 | ····new-array·v0,·v0,·[Ljava/lang/Object; |
| |
282 | ····.line·245 | 282 | ····.line·242 |
283 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; | 283 | ····invoke-virtual·{p0},·Landroid/view/textclassifier/ConversationActions$Message;->getAuthor()Landroid/app/Person; |
| |
284 | ····move-result-object·v1 | 284 | ····move-result-object·v1 |
| |
285 | ····const/4·v2,·0x0 | 285 | ····const/4·v2,·0x0 |
| |
286 | ····aput-object·v1,·v0,·v2 | 286 | ····aput-object·v1,·v0,·v2 |
Offset 313, 53 lines modified | Offset 313, 45 lines modified |
| |
313 | ····return·p0 | 313 | ····return·p0 |
314 | .end·method | 314 | .end·method |
| |
315 | .method·static·synthetic·lambda$createTitleChooser$1(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; | 315 | .method·static·synthetic·lambda$createTitleChooser$1(Lcom/android/textclassifier/common/intent/LabeledIntent;Landroid/content/pm/ResolveInfo;)Ljava/lang/CharSequence; |
316 | ····.locals·1 | 316 | ····.locals·1 |
| |
317 | ····if-nez·p1,·:cond_0 | 317 | ····.line·150 |
| 318 | ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z |
| |
| 319 | ····if-eqz·v0,·:cond_0 |
| |
318 | ····.line·151 | 320 | ····.line·151 |
319 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | 321 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; |
| |
320 | ····return-object·p0 | 322 | ····return-object·p0 |
| |
321 | ····.line·153 | 323 | ····.line·153 |
322 | ····:cond_0 | 324 | ····:cond_0 |
323 | ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z | |
| |
324 | ····if-eqz·v0,·:cond_1 | |
| |
325 | ····.line·154 | |
326 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | |
| |
327 | ····return-object·p0 | |
| |
328 | ····.line·156 | |
329 | ····:cond_1 | |
330 | ····iget-object·p1,·p1,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; | 325 | ····iget-object·p1,·p1,·Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; |
| |
331 | ····iget-object·p1,·p1,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; | 326 | ····iget-object·p1,·p1,·Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; |
| |
332 | ····const-string·v0,·"android" | 327 | ····const-string·v0,·"android" |
| |
333 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 328 | ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
334 | ····move-result·p1 | 329 | ····move-result·p1 |
| |
335 | ····if-eqz·p1,·:cond_2 | 330 | ····if-eqz·p1,·:cond_1 |
| |
336 | ····.line·157 | 331 | ····.line·154 |
337 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; | 332 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithEntity:Ljava/lang/String; |
| |
338 | ····return-object·p0 | 333 | ····return-object·p0 |
| |
339 | ····.line·159 | 334 | ····.line·156 |
340 | ····:cond_2 | 335 | ····:cond_1 |
341 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; | 336 | ····iget-object·p0,·p0,·Lcom/android/textclassifier/common/intent/LabeledIntent;->titleWithoutEntity:Ljava/lang/String; |
| |
342 | ····return-object·p0 | 337 | ····return-object·p0 |
343 | .end·method | 338 | .end·method |
| |
344 | .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z | 339 | .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z |
345 | ····.locals·0 | 340 | ····.locals·0 |
Offset 398, 20 lines modified | Offset 390, 20 lines modified |
398 | ············">;)", | 390 | ············">;)", |
399 | ············"Ljava/util/List<", | 391 | ············"Ljava/util/List<", |
400 | ············"Landroid/view/textclassifier/ConversationAction;", | 392 | ············"Landroid/view/textclassifier/ConversationAction;", |
401 | ············">;" | 393 | ············">;" |
402 | ········} | 394 | ········} |
403 | ····.end·annotation | 395 | ····.end·annotation |
| |
404 | ····.line·174 | 396 | ····.line·171 |
405 | ····new-instance·v0,·Landroid/util/ArrayMap; | 397 | ····new-instance·v0,·Landroid/util/ArrayMap; |
| |
406 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V | 398 | ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V |
| |
407 | ····.line·175 | 399 | ····.line·172 |
408 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 400 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
409 | ····move-result-object·v1 | 401 | ····move-result-object·v1 |
| |
410 | ····:goto_0 | 402 | ····:goto_0 |
411 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 403 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
| |
Offset 425, 57 lines modified | Offset 417, 57 lines modified |
| |
425 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 417 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
426 | ····move-result-object·v2 | 418 | ····move-result-object·v2 |
| |
427 | ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction; | 419 | ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction; |
| |
428 | ····.line·176 | 420 | ····.line·173 |
429 | ····invoke-static·{v2},·Lcom/android/textclassifier/ActionsSuggestionsHelper;->getRepresentation(Landroid/view/textclassifier/ConversationAction;)Landroid/util/Pair; | 421 | ····invoke-static·{v2},·Lcom/android/textclassifier/ActionsSuggestionsHelper;->getRepresentation(Landroid/view/textclassifier/ConversationAction;)Landroid/util/Pair; |
| |
430 | ····move-result-object·v2 | 422 | ····move-result-object·v2 |
| |
431 | ····if-nez·v2,·:cond_0 | 423 | ····if-nez·v2,·:cond_0 |
| |
432 | ····goto·:goto_0 | 424 | ····goto·:goto_0 |
| |
433 | ····.line·180 | 425 | ····.line·177 |
434 | ····:cond_0 | 426 | ····:cond_0 |
435 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 427 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
436 | ····move-result-object·v4 | 428 | ····move-result-object·v4 |
| |
437 | ····invoke-interface·{v0,·v2,·v4},·Ljava/util/Map;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 429 | ····invoke-interface·{v0,·v2,·v4},·Ljava/util/Map;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
438 | ····move-result-object·v4 | 430 | ····move-result-object·v4 |
| |
439 | ····check-cast·v4,·Ljava/lang/Integer; | 431 | ····check-cast·v4,·Ljava/lang/Integer; |
| |
440 | ····.line·181 | 432 | ····.line·178 |
441 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I | 433 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I |
| |
442 | ····move-result·v4 | 434 | ····move-result·v4 |
| |
443 | ····add-int/2addr·v4,·v3 | 435 | ····add-int/2addr·v4,·v3 |
| |
444 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 436 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
445 | ····move-result-object·v3 | 437 | ····move-result-object·v3 |
| |
446 | ····invoke-interface·{v0,·v2,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 438 | ····invoke-interface·{v0,·v2,·v3},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
447 | ····goto·:goto_0 | 439 | ····goto·:goto_0 |
| |
448 | ····.line·183 | 440 | ····.line·180 |
449 | ····:cond_1 | 441 | ····:cond_1 |
450 | ····new-instance·v1,·Ljava/util/ArrayList; | 442 | ····new-instance·v1,·Ljava/util/ArrayList; |
| |
451 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V | 443 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
| |
452 | ····.line·184 | 444 | ····.line·181 |
453 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 445 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
454 | ····move-result-object·p0 | 446 | ····move-result-object·p0 |
| |
455 | ····:cond_2 | 447 | ····:cond_2 |
456 | ····:goto_1 | 448 | ····:goto_1 |
457 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | 449 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z |
Offset 486, 22 lines modified | Offset 478, 22 lines modified |
| |
486 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 478 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
487 | ····move-result-object·v2 | 479 | ····move-result-object·v2 |
| |
488 | ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction; | 480 | ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction; |
| |
489 | ····.line·185 | 481 | ····.line·182 |
490 | ····invoke-static·{v2},·Lcom/android/textclassifier/ActionsSuggestionsHelper;->getRepresentation(Landroid/view/textclassifier/ConversationAction;)Landroid/util/Pair; | 482 | ····invoke-static·{v2},·Lcom/android/textclassifier/ActionsSuggestionsHelper;->getRepresentation(Landroid/view/textclassifier/ConversationAction;)Landroid/util/Pair; |
| |
491 | ····move-result-object·v5 | 483 | ····move-result-object·v5 |
| |
492 | ····if-eqz·v5,·:cond_3 | 484 | ····if-eqz·v5,·:cond_3 |
| |
493 | ····.line·186 | 485 | ····.line·183 |
494 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 486 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
495 | ····move-result-object·v6 | 487 | ····move-result-object·v6 |
| |
496 | ····invoke-interface·{v0,·v5,·v6},·Ljava/util/Map;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 488 | ····invoke-interface·{v0,·v5,·v6},·Ljava/util/Map;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
| |
497 | ····move-result-object·v5 | 489 | ····move-result-object·v5 |
Offset 510, 15 lines modified | Offset 502, 15 lines modified |
| |
510 | ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I | 502 | ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I |
| |
511 | ····move-result·v5 | 503 | ····move-result·v5 |
| |
512 | ····if-ne·v5,·v3,·:cond_2 | 504 | ····if-ne·v5,·v3,·:cond_2 |
| |
513 | ····.line·187 | 505 | ····.line·184 |
514 | ····:cond_3 | 506 | ····:cond_3 |
515 | ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 507 | ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
516 | ····goto·:goto_1 | 508 | ····goto·:goto_1 |
| |
517 | ····:cond_4 | 509 | ····:cond_4 |
518 | ····return-object·v1 | 510 | ····return-object·v1 |