Offset 214, 51 lines modifiedOffset 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·annotation219 ····.end·annotation
  
220 ····.line·195220 ····.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·v0222 ····move-result-object·v0
  
223 ····const/4·v1,·0x0223 ····const/4·v1,·0x0
  
224 ····if-nez·v0,·:cond_0224 ····if-nez·v0,·:cond_0
  
225 ····return-object·v1225 ····return-object·v1
  
226 ····.line·199226 ····.line·196
227 ····:cond_0227 ····: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·v0229 ····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·v0231 ····move-result-object·v0
  
232 ····.line·200232 ····.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·v0234 ····move-result-object·v0
  
235 ····if-nez·v0,·:cond_1235 ····if-nez·v0,·:cond_1
  
236 ····goto·:goto_0236 ····goto·:goto_0
  
237 ····.line·202237 ····.line·199
238 ····:cond_1238 ····: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·v1240 ····move-result-object·v1
  
241 ····.line·203241 ····.line·200
242 ····:goto_0242 ····: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·p0245 ····move-result-object·p0
  
Offset 278, 15 lines modifiedOffset 278, 15 lines modified
278 .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I278 .method·private·static·hashMessage(Landroid/view/textclassifier/ConversationActions$Message;)I
279 ····.locals·3279 ····.locals·3
  
280 ····const/4·v0,·0x3280 ····const/4·v0,·0x3
  
281 ····new-array·v0,·v0,·[Ljava/lang/Object;281 ····new-array·v0,·v0,·[Ljava/lang/Object;
  
282 ····.line·245282 ····.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·v1284 ····move-result-object·v1
  
285 ····const/4·v2,·0x0285 ····const/4·v2,·0x0
  
286 ····aput-object·v1,·v0,·v2286 ····aput-object·v1,·v0,·v2
Offset 313, 53 lines modifiedOffset 313, 45 lines modified
  
313 ····return·p0313 ····return·p0
314 .end·method314 .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·1316 ····.locals·1
  
317 ····if-nez·p1,·:cond_0317 ····.line·150
 318 ····iget-boolean·v0,·p1,·Landroid/content/pm/ResolveInfo;->handleAllWebDataURI:Z
  
 319 ····if-eqz·v0,·:cond_0
  
318 ····.line·151320 ····.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·p0322 ····return-object·p0
  
321 ····.line·153323 ····.line·153
322 ····:cond_0324 ····: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;)Z328 ····invoke-virtual·{v0,·p1},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
334 ····move-result·p1329 ····move-result·p1
  
335 ····if-eqz·p1,·:cond_2330 ····if-eqz·p1,·:cond_1
  
336 ····.line·157331 ····.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·p0333 ····return-object·p0
  
339 ····.line·159334 ····.line·156
340 ····:cond_2335 ····: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·p0337 ····return-object·p0
343 .end·method338 .end·method
  
344 .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z339 .method·static·synthetic·lambda$toNativeMessages$0(Landroid/view/textclassifier/ConversationActions$Message;)Z
345 ····.locals·0340 ····.locals·0
Offset 398, 20 lines modifiedOffset 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·annotation395 ····.end·annotation
  
404 ····.line·174396 ····.line·171
405 ····new-instance·v0,·Landroid/util/ArrayMap;397 ····new-instance·v0,·Landroid/util/ArrayMap;
  
406 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V398 ····invoke-direct·{v0},·Landroid/util/ArrayMap;-><init>()V
  
407 ····.line·175399 ····.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·v1401 ····move-result-object·v1
  
410 ····:goto_0402 ····:goto_0
411 ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z403 ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z
  
Offset 425, 57 lines modifiedOffset 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·v2418 ····move-result-object·v2
  
427 ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction;419 ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction;
  
428 ····.line·176420 ····.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·v2422 ····move-result-object·v2
  
431 ····if-nez·v2,·:cond_0423 ····if-nez·v2,·:cond_0
  
432 ····goto·:goto_0424 ····goto·:goto_0
  
433 ····.line·180425 ····.line·177
434 ····:cond_0426 ····: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·v4428 ····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·v4430 ····move-result-object·v4
  
439 ····check-cast·v4,·Ljava/lang/Integer;431 ····check-cast·v4,·Ljava/lang/Integer;
  
440 ····.line·181432 ····.line·178
441 ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I433 ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I
  
442 ····move-result·v4434 ····move-result·v4
  
443 ····add-int/2addr·v4,·v3435 ····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·v3437 ····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_0439 ····goto·:goto_0
  
448 ····.line·183440 ····.line·180
449 ····:cond_1441 ····:cond_1
450 ····new-instance·v1,·Ljava/util/ArrayList;442 ····new-instance·v1,·Ljava/util/ArrayList;
  
451 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V443 ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V
  
452 ····.line·184444 ····.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·p0446 ····move-result-object·p0
  
455 ····:cond_2447 ····:cond_2
456 ····:goto_1448 ····:goto_1
457 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z449 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z
Offset 486, 22 lines modifiedOffset 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·v2479 ····move-result-object·v2
  
488 ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction;480 ····check-cast·v2,·Landroid/view/textclassifier/ConversationAction;
  
489 ····.line·185481 ····.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·v5483 ····move-result-object·v5
  
492 ····if-eqz·v5,·:cond_3484 ····if-eqz·v5,·:cond_3
  
493 ····.line·186485 ····.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·v6487 ····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·v5489 ····move-result-object·v5
Offset 510, 15 lines modifiedOffset 502, 15 lines modified
  
510 ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I502 ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I
  
511 ····move-result·v5503 ····move-result·v5
  
512 ····if-ne·v5,·v3,·:cond_2504 ····if-ne·v5,·v3,·:cond_2
  
513 ····.line·187505 ····.line·184
514 ····:cond_3506 ····:cond_3
515 ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z507 ····invoke-interface·{v1,·v2},·Ljava/util/List;->add(Ljava/lang/Object;)Z
  
516 ····goto·:goto_1508 ····goto·:goto_1
  
517 ····:cond_4509 ····:cond_4
518 ····return-object·v1510 ····return-object·v1