diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$1.smali b/overlay/smali/com/android/internal/app/ResolverActivity$1.smali index 5b6fe479..c2eaa61c 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$1.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$1.smali @@ -23,6 +23,7 @@ .locals 0 .prologue + .line 82 iput-object p1, p0, Lcom/android/internal/app/ResolverActivity$1;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-direct {p0}, Lcom/android/internal/content/PackageMonitor;->()V @@ -36,6 +37,7 @@ .locals 1 .prologue + .line 84 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity$1;->this$0:Lcom/android/internal/app/ResolverActivity; # getter for: Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -45,5 +47,6 @@ invoke-virtual {v0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->handlePackagesChanged()V + .line 85 return-void .end method diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$DisplayResolveInfo.smali b/overlay/smali/com/android/internal/app/ResolverActivity$DisplayResolveInfo.smali index f9f29998..b905803d 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$DisplayResolveInfo.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$DisplayResolveInfo.smali @@ -37,17 +37,23 @@ .param p5, "pOrigIntent" # Landroid/content/Intent; .prologue + .line 413 iput-object p1, p0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-direct {p0}, Ljava/lang/Object;->()V + .line 414 iput-object p2, p0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->ri:Landroid/content/pm/ResolveInfo; + .line 415 iput-object p3, p0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->displayLabel:Ljava/lang/CharSequence; + .line 416 iput-object p4, p0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->extendedInfo:Ljava/lang/CharSequence; + .line 417 iput-object p5, p0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->origIntent:Landroid/content/Intent; + .line 418 return-void .end method diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$ItemLongClickListener.smali b/overlay/smali/com/android/internal/app/ResolverActivity$ItemLongClickListener.smali index 89157ce3..3fd8c3dd 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$ItemLongClickListener.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$ItemLongClickListener.smali @@ -26,6 +26,7 @@ .locals 0 .prologue + .line 713 iput-object p1, p0, Lcom/android/internal/app/ResolverActivity$ItemLongClickListener;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-direct {p0}, Ljava/lang/Object;->()V @@ -51,6 +52,7 @@ .end annotation .prologue + .line 717 .local p1, "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;" iget-object v1, p0, Lcom/android/internal/app/ResolverActivity$ItemLongClickListener;->this$0:Lcom/android/internal/app/ResolverActivity; @@ -63,11 +65,13 @@ move-result-object v0 + .line 718 .local v0, "ri":Landroid/content/pm/ResolveInfo; iget-object v1, p0, Lcom/android/internal/app/ResolverActivity$ItemLongClickListener;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-virtual {v1, v0}, Lcom/android/internal/app/ResolverActivity;->showAppDetails(Landroid/content/pm/ResolveInfo;)V + .line 719 const/4 v1, 0x1 return v1 diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$LoadIconTask.smali b/overlay/smali/com/android/internal/app/ResolverActivity$LoadIconTask.smali index b5cc6edd..5952b982 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$LoadIconTask.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$LoadIconTask.smali @@ -34,6 +34,7 @@ .locals 0 .prologue + .line 724 iput-object p1, p0, Lcom/android/internal/app/ResolverActivity$LoadIconTask;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-direct {p0}, Landroid/os/AsyncTask;->()V @@ -48,15 +49,18 @@ .param p1, "params" # [Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; .prologue + .line 727 const/4 v1, 0x0 aget-object v0, p1, v1 + .line 728 .local v0, "info":Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->displayIcon:Landroid/graphics/drawable/Drawable; if-nez v1, :cond_0 + .line 730 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->ri:Landroid/content/pm/ResolveInfo; iget-object v1, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; @@ -73,6 +77,7 @@ iput-object v1, v0, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->displayIcon:Landroid/graphics/drawable/Drawable; + .line 732 :cond_0 return-object v0 .end method @@ -82,6 +87,7 @@ .param p1, "x0" # [Ljava/lang/Object; .prologue + .line 724 check-cast p1, [Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; .end local p1 # "x0":[Ljava/lang/Object; @@ -97,6 +103,7 @@ .param p1, "info" # Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; .prologue + .line 737 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity$LoadIconTask;->this$0:Lcom/android/internal/app/ResolverActivity; # getter for: Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -106,6 +113,7 @@ invoke-virtual {v0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->notifyDataSetChanged()V + .line 738 return-void .end method @@ -114,6 +122,7 @@ .param p1, "x0" # Ljava/lang/Object; .prologue + .line 724 check-cast p1, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; .end local p1 # "x0":Ljava/lang/Object; diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$ResolveListAdapter.smali b/overlay/smali/com/android/internal/app/ResolverActivity$ResolveListAdapter.smali index 1046c519..15137afc 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$ResolveListAdapter.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$ResolveListAdapter.smali @@ -81,23 +81,29 @@ .end annotation .prologue + .line 432 .local p5, "rList":Ljava/util/List;, "Ljava/util/List;" iput-object p1, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-direct {p0}, Landroid/widget/BaseAdapter;->()V + .line 433 new-instance v0, Landroid/content/Intent; invoke-direct {v0, p3}, Landroid/content/Intent;->(Landroid/content/Intent;)V iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mIntent:Landroid/content/Intent; + .line 434 iput-object p4, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mInitialIntents:[Landroid/content/Intent; + .line 435 iput-object p5, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mBaseResolveList:Ljava/util/List; + .line 436 iput p6, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mLaunchedFromUid:I + .line 437 const-string v0, "layout_inflater" invoke-virtual {p2, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; @@ -108,14 +114,17 @@ iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mInflater:Landroid/view/LayoutInflater; + .line 438 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; + .line 439 invoke-direct {p0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->rebuildList()V + .line 440 return-void .end method @@ -127,12 +136,14 @@ .prologue const/4 v3, 0x0 + .line 686 invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/android/internal/app/ResolverActivity$ViewHolder; + .line 687 .local v0, "holder":Lcom/android/internal/app/ResolverActivity$ViewHolder; iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text:Landroid/widget/TextView; @@ -140,6 +151,7 @@ invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V + .line 688 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; # getter for: Lcom/android/internal/app/ResolverActivity;->mShowExtended:Z @@ -149,21 +161,25 @@ if-eqz v1, :cond_1 + .line 689 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text2:Landroid/widget/TextView; invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V + .line 690 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text2:Landroid/widget/TextView; iget-object v2, p2, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->extendedInfo:Ljava/lang/CharSequence; invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V + .line 694 :goto_0 iget-object v1, p2, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->displayIcon:Landroid/graphics/drawable/Drawable; if-nez v1, :cond_0 + .line 695 new-instance v1, Lcom/android/internal/app/ResolverActivity$LoadIconTask; iget-object v2, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; @@ -178,6 +194,7 @@ invoke-virtual {v1, v2}, Lcom/android/internal/app/ResolverActivity$LoadIconTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; + .line 697 :cond_0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->icon:Landroid/widget/ImageView; @@ -185,8 +202,10 @@ invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V + .line 698 return-void + .line 692 :cond_1 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text2:Landroid/widget/TextView; @@ -217,16 +236,19 @@ .end annotation .prologue + .line 593 .local p1, "rList":Ljava/util/List;, "Ljava/util/List;" sub-int v1, p3, p2 add-int/lit8 v12, v1, 0x1 + .line 594 .local v12, "num":I const/4 v1, 0x1 if-ne v12, v1, :cond_1 + .line 596 move-object/from16 v0, p0 iget-object v15, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; @@ -249,9 +271,11 @@ invoke-interface {v15, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + .line 635 :cond_0 return-void + .line 598 :cond_1 move-object/from16 v0, p0 @@ -262,8 +286,10 @@ # setter for: Lcom/android/internal/app/ResolverActivity;->mShowExtended:Z invoke-static {v1, v2}, Lcom/android/internal/app/ResolverActivity;->access$302(Lcom/android/internal/app/ResolverActivity;Z)Z + .line 599 const/4 v14, 0x0 + .line 600 .local v14, "usePkg":Z move-object/from16 v0, p4 @@ -284,21 +310,27 @@ move-result-object v13 + .line 601 .local v13, "startApp":Ljava/lang/CharSequence; if-nez v13, :cond_2 + .line 602 const/4 v14, 0x1 + .line 604 :cond_2 if-nez v14, :cond_5 + .line 606 new-instance v7, Ljava/util/HashSet; invoke-direct {v7}, Ljava/util/HashSet;->()V + .line 608 .local v7, "duplicates":Ljava/util/HashSet;, "Ljava/util/HashSet;" invoke-virtual {v7, v13}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z + .line 609 add-int/lit8 v8, p2, 0x1 .local v8, "j":I @@ -307,6 +339,7 @@ if-gt v8, v0, :cond_4 + .line 610 move-object/from16 v0, p1 invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -315,6 +348,7 @@ check-cast v10, Landroid/content/pm/ResolveInfo; + .line 611 .local v10, "jRi":Landroid/content/pm/ResolveInfo; iget-object v1, v10, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; @@ -333,6 +367,7 @@ move-result-object v9 + .line 612 .local v9, "jApp":Ljava/lang/CharSequence; if-eqz v9, :cond_3 @@ -342,14 +377,17 @@ if-eqz v1, :cond_6 + .line 613 :cond_3 const/4 v14, 0x1 + .line 620 .end local v9 # "jApp":Ljava/lang/CharSequence; .end local v10 # "jRi":Landroid/content/pm/ResolveInfo; :cond_4 invoke-virtual {v7}, Ljava/util/HashSet;->clear()V + .line 622 .end local v7 # "duplicates":Ljava/util/HashSet;, "Ljava/util/HashSet;" .end local v8 # "j":I :cond_5 @@ -361,6 +399,7 @@ if-gt v11, v0, :cond_0 + .line 623 move-object/from16 v0, p1 invoke-interface {v0, v11}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -369,9 +408,11 @@ check-cast v3, Landroid/content/pm/ResolveInfo; + .line 624 .local v3, "add":Landroid/content/pm/ResolveInfo; if-eqz v14, :cond_7 + .line 626 move-object/from16 v0, p0 iget-object v15, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; @@ -394,11 +435,13 @@ invoke-interface {v15, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + .line 622 :goto_2 add-int/lit8 v11, v11, 0x1 goto :goto_1 + .line 616 .end local v3 # "add":Landroid/content/pm/ResolveInfo; .end local v11 # "k":I .restart local v7 # "duplicates":Ljava/util/HashSet;, "Ljava/util/HashSet;" @@ -408,10 +451,12 @@ :cond_6 invoke-virtual {v7, v9}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z + .line 609 add-int/lit8 v8, v8, 0x1 goto :goto_0 + .line 630 .end local v7 # "duplicates":Ljava/util/HashSet;, "Ljava/util/HashSet;" .end local v8 # "j":I .end local v9 # "jApp":Ljava/lang/CharSequence; @@ -461,22 +506,26 @@ .locals 20 .prologue + .line 475 move-object/from16 v0, p0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; invoke-interface {v1}, Ljava/util/List;->clear()V + .line 476 move-object/from16 v0, p0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mBaseResolveList:Ljava/util/List; if-eqz v1, :cond_3 + .line 477 move-object/from16 v0, p0 iget-object v8, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mBaseResolveList:Ljava/util/List; + .line 478 .local v8, "currentResolveList":Ljava/util/List;, "Ljava/util/List;" const/4 v1, 0x0 @@ -484,6 +533,7 @@ iput-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; + .line 505 :cond_0 if-eqz v8, :cond_12 @@ -494,6 +544,7 @@ .local v13, "N":I if-lez v13, :cond_12 + .line 508 const/4 v1, 0x0 invoke-interface {v8, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -502,6 +553,7 @@ check-cast v11, Landroid/content/pm/ResolveInfo; + .line 509 .local v11, "r0":Landroid/content/pm/ResolveInfo; const/16 v16, 0x1 @@ -511,6 +563,7 @@ if-ge v0, v13, :cond_8 + .line 510 move/from16 v0, v16 invoke-interface {v8, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -519,6 +572,7 @@ check-cast v3, Landroid/content/pm/ResolveInfo; + .line 517 .local v3, "ri":Landroid/content/pm/ResolveInfo; iget v1, v11, Landroid/content/pm/ResolveInfo;->priority:I @@ -532,18 +586,21 @@ if-eq v1, v2, :cond_7 + .line 519 :cond_1 :goto_1 move/from16 v0, v16 if-ge v0, v13, :cond_7 + .line 520 move-object/from16 v0, p0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; if-ne v1, v8, :cond_2 + .line 521 new-instance v1, Ljava/util/ArrayList; move-object/from16 v0, p0 @@ -556,15 +613,18 @@ iput-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; + .line 523 :cond_2 move/from16 v0, v16 invoke-interface {v8, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; + .line 524 add-int/lit8 v13, v13, -0x1 goto :goto_1 + .line 480 .end local v3 # "ri":Landroid/content/pm/ResolveInfo; .end local v8 # "currentResolveList":Ljava/util/List;, "Ljava/util/List;" .end local v11 # "r0":Landroid/content/pm/ResolveInfo; @@ -610,9 +670,11 @@ iput-object v8, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; + .line 488 .restart local v8 # "currentResolveList":Ljava/util/List;, "Ljava/util/List;" if-eqz v8, :cond_0 + .line 489 invoke-interface {v8}, Ljava/util/List;->size()I move-result v1 @@ -623,6 +685,7 @@ :goto_3 if-ltz v16, :cond_0 + .line 490 move/from16 v0, v16 invoke-interface {v8, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -633,6 +696,7 @@ iget-object v14, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; + .line 491 .local v14, "ai":Landroid/content/pm/ActivityInfo; iget-object v1, v14, Landroid/content/pm/ActivityInfo;->permission:Ljava/lang/String; @@ -650,15 +714,18 @@ move-result v15 + .line 494 .local v15, "granted":I if-eqz v15, :cond_5 + .line 496 move-object/from16 v0, p0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; if-ne v1, v8, :cond_4 + .line 497 new-instance v1, Ljava/util/ArrayList; move-object/from16 v0, p0 @@ -671,16 +738,19 @@ iput-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mOrigResolveList:Ljava/util/List; + .line 499 :cond_4 move/from16 v0, v16 invoke-interface {v8, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; + .line 489 :cond_5 add-int/lit8 v16, v16, -0x1 goto :goto_3 + .line 480 .end local v8 # "currentResolveList":Ljava/util/List;, "Ljava/util/List;" .end local v14 # "ai":Landroid/content/pm/ActivityInfo; .end local v15 # "granted":I @@ -690,6 +760,7 @@ goto :goto_2 + .line 509 .restart local v3 # "ri":Landroid/content/pm/ResolveInfo; .restart local v8 # "currentResolveList":Ljava/util/List;, "Ljava/util/List;" .restart local v11 # "r0":Landroid/content/pm/ResolveInfo; @@ -700,12 +771,14 @@ goto/16 :goto_0 + .line 528 .end local v3 # "ri":Landroid/content/pm/ResolveInfo; :cond_8 const/4 v1, 0x1 if-le v13, v1, :cond_9 + .line 529 new-instance v18, Landroid/content/pm/ResolveInfo$DisplayNameComparator; move-object/from16 v0, p0 @@ -721,11 +794,13 @@ invoke-direct {v0, v1}, Landroid/content/pm/ResolveInfo$DisplayNameComparator;->(Landroid/content/pm/PackageManager;)V + .line 531 .local v18, "rComparator":Landroid/content/pm/ResolveInfo$DisplayNameComparator; move-object/from16 v0, v18 invoke-static {v8, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V + .line 534 .end local v18 # "rComparator":Landroid/content/pm/ResolveInfo$DisplayNameComparator; :cond_9 move-object/from16 v0, p0 @@ -734,6 +809,7 @@ if-eqz v1, :cond_d + .line 535 const/16 v16, 0x0 :goto_4 @@ -747,20 +823,24 @@ if-ge v0, v1, :cond_d + .line 536 move-object/from16 v0, p0 iget-object v1, v0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mInitialIntents:[Landroid/content/Intent; aget-object v6, v1, v16 + .line 537 .local v6, "ii":Landroid/content/Intent; if-nez v6, :cond_a + .line 535 :goto_5 add-int/lit8 v16, v16, 0x1 goto :goto_4 + .line 540 :cond_a move-object/from16 v0, p0 @@ -776,9 +856,11 @@ move-result-object v14 + .line 542 .restart local v14 # "ai":Landroid/content/pm/ActivityInfo; if-nez v14, :cond_b + .line 543 const-string v1, "ResolverActivity" new-instance v2, Ljava/lang/StringBuilder; @@ -803,22 +885,27 @@ goto :goto_5 + .line 547 :cond_b new-instance v3, Landroid/content/pm/ResolveInfo; invoke-direct {v3}, Landroid/content/pm/ResolveInfo;->()V + .line 548 .restart local v3 # "ri":Landroid/content/pm/ResolveInfo; iput-object v14, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; + .line 549 instance-of v1, v6, Landroid/content/pm/LabeledIntent; if-eqz v1, :cond_c move-object/from16 v17, v6 + .line 550 check-cast v17, Landroid/content/pm/LabeledIntent; + .line 551 .local v17, "li":Landroid/content/pm/LabeledIntent; invoke-virtual/range {v17 .. v17}, Landroid/content/pm/LabeledIntent;->getSourcePackage()Ljava/lang/String; @@ -826,24 +913,28 @@ iput-object v1, v3, Landroid/content/pm/ResolveInfo;->resolvePackageName:Ljava/lang/String; + .line 552 invoke-virtual/range {v17 .. v17}, Landroid/content/pm/LabeledIntent;->getLabelResource()I move-result v1 iput v1, v3, Landroid/content/pm/ResolveInfo;->labelRes:I + .line 553 invoke-virtual/range {v17 .. v17}, Landroid/content/pm/LabeledIntent;->getNonLocalizedLabel()Ljava/lang/CharSequence; move-result-object v1 iput-object v1, v3, Landroid/content/pm/ResolveInfo;->nonLocalizedLabel:Ljava/lang/CharSequence; + .line 554 invoke-virtual/range {v17 .. v17}, Landroid/content/pm/LabeledIntent;->getIconResource()I move-result v1 iput v1, v3, Landroid/content/pm/ResolveInfo;->icon:I + .line 556 .end local v17 # "li":Landroid/content/pm/LabeledIntent; :cond_c move-object/from16 v0, p0 @@ -876,6 +967,7 @@ goto :goto_5 + .line 563 .end local v3 # "ri":Landroid/content/pm/ResolveInfo; .end local v6 # "ii":Landroid/content/Intent; .end local v14 # "ai":Landroid/content/pm/ActivityInfo; @@ -889,9 +981,11 @@ .end local v11 # "r0":Landroid/content/pm/ResolveInfo; check-cast v11, Landroid/content/pm/ResolveInfo; + .line 564 .restart local v11 # "r0":Landroid/content/pm/ResolveInfo; const/4 v9, 0x0 + .line 565 .local v9, "start":I move-object/from16 v0, p0 @@ -906,6 +1000,7 @@ move-result-object v12 + .line 566 .local v12, "r0Label":Ljava/lang/CharSequence; move-object/from16 v0, p0 @@ -916,6 +1011,7 @@ # setter for: Lcom/android/internal/app/ResolverActivity;->mShowExtended:Z invoke-static {v1, v2}, Lcom/android/internal/app/ResolverActivity;->access$302(Lcom/android/internal/app/ResolverActivity;Z)Z + .line 567 const/16 v16, 0x1 :goto_6 @@ -923,12 +1019,15 @@ if-ge v0, v13, :cond_11 + .line 568 if-nez v12, :cond_e + .line 569 iget-object v1, v11, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; iget-object v12, v1, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; + .line 571 :cond_e move/from16 v0, v16 @@ -938,6 +1037,7 @@ check-cast v3, Landroid/content/pm/ResolveInfo; + .line 572 .restart local v3 # "ri":Landroid/content/pm/ResolveInfo; move-object/from16 v0, p0 @@ -952,15 +1052,18 @@ move-result-object v19 + .line 573 .local v19, "riLabel":Ljava/lang/CharSequence; if-nez v19, :cond_f + .line 574 iget-object v1, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; iget-object v0, v1, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String; move-object/from16 v19, v0 + .line 576 :cond_f move-object/from16 v0, v19 @@ -970,11 +1073,13 @@ if-eqz v1, :cond_10 + .line 567 :goto_7 add-int/lit8 v16, v16, 0x1 goto :goto_6 + .line 579 :cond_10 add-int/lit8 v10, v16, -0x1 @@ -982,14 +1087,18 @@ invoke-direct/range {v7 .. v12}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->processGroup(Ljava/util/List;IILandroid/content/pm/ResolveInfo;Ljava/lang/CharSequence;)V + .line 580 move-object v11, v3 + .line 581 move-object/from16 v12, v19 + .line 582 move/from16 v9, v16 goto :goto_7 + .line 585 .end local v3 # "ri":Landroid/content/pm/ResolveInfo; .end local v19 # "riLabel":Ljava/lang/CharSequence; :cond_11 @@ -999,6 +1108,7 @@ invoke-direct/range {v7 .. v12}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->processGroup(Ljava/util/List;IILandroid/content/pm/ResolveInfo;Ljava/lang/CharSequence;)V + .line 587 .end local v9 # "start":I .end local v11 # "r0":Landroid/content/pm/ResolveInfo; .end local v12 # "r0Label":Ljava/lang/CharSequence; @@ -1013,6 +1123,7 @@ invoke-direct {v0, v1}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->removeDuplicatedResolves(Ljava/util/List;)V + .line 588 return-void .end method @@ -1029,6 +1140,7 @@ .end annotation .prologue + .line 457 .local p1, "list":Ljava/util/List;, "Ljava/util/List;" if-eqz p1, :cond_0 @@ -1040,14 +1152,17 @@ if-gt v4, v5, :cond_1 + .line 471 :cond_0 return-void + .line 461 :cond_1 new-instance v0, Ljava/util/HashSet; invoke-direct {v0}, Ljava/util/HashSet;->()V + .line 462 .local v0, "duplicate":Ljava/util/HashSet;, "Ljava/util/HashSet;" invoke-interface {p1}, Ljava/util/List;->size()I @@ -1059,12 +1174,14 @@ :goto_0 if-ltz v1, :cond_0 + .line 463 invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v2 check-cast v2, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; + .line 464 .local v2, "info":Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; new-instance v4, Ljava/lang/StringBuilder; @@ -1100,6 +1217,7 @@ move-result-object v3 + .line 465 .local v3, "key":Ljava/lang/String; invoke-virtual {v0, v3}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z @@ -1107,13 +1225,16 @@ if-eqz v4, :cond_2 + .line 466 invoke-interface {p1, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object; + .line 462 :goto_1 add-int/lit8 v1, v1, -0x1 goto :goto_0 + .line 468 :cond_2 invoke-virtual {v0, v3}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z @@ -1126,6 +1247,7 @@ .locals 1 .prologue + .line 655 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->size()I @@ -1140,6 +1262,7 @@ .param p1, "position" # I .prologue + .line 659 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -1154,6 +1277,7 @@ .param p1, "position" # I .prologue + .line 663 int-to-long v0, p1 return-wide v0 @@ -1166,11 +1290,13 @@ .param p3, "parent" # Landroid/view/ViewGroup; .prologue + .line 668 if-nez p2, :cond_0 + .line 669 iget-object v3, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mInflater:Landroid/view/LayoutInflater; - sget v4, Landroid/miui/R$layout;->resolve_list_item:I + const v4, 0x11030007 const/4 v5, 0x0 @@ -1178,20 +1304,24 @@ move-result-object v2 + .line 672 .local v2, "view":Landroid/view/View; new-instance v0, Lcom/android/internal/app/ResolverActivity$ViewHolder; invoke-direct {v0, v2}, Lcom/android/internal/app/ResolverActivity$ViewHolder;->(Landroid/view/View;)V + .line 673 .local v0, "holder":Lcom/android/internal/app/ResolverActivity$ViewHolder; invoke-virtual {v2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V + .line 676 iget-object v3, v0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->icon:Landroid/widget/ImageView; invoke-virtual {v3}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; move-result-object v1 + .line 677 .local v1, "lp":Landroid/view/ViewGroup$LayoutParams; iget-object v3, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; @@ -1204,6 +1334,7 @@ iput v3, v1, Landroid/view/ViewGroup$LayoutParams;->width:I + .line 681 .end local v0 # "holder":Lcom/android/internal/app/ResolverActivity$ViewHolder; .end local v1 # "lp":Landroid/view/ViewGroup$LayoutParams; :goto_0 @@ -1217,8 +1348,10 @@ invoke-direct {p0, v2, v3}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->bindView(Landroid/view/View;Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;)V + .line 682 return-object v2 + .line 679 .end local v2 # "view":Landroid/view/View; :cond_0 move-object v2, p2 @@ -1231,33 +1364,42 @@ .locals 3 .prologue + .line 443 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->getCount()I move-result v1 + .line 444 .local v1, "oldItemCount":I invoke-direct {p0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->rebuildList()V + .line 445 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->notifyDataSetChanged()V + .line 446 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->getCount()I move-result v0 + .line 447 .local v0, "newItemCount":I if-nez v0, :cond_0 + .line 449 iget-object v2, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-virtual {v2}, Lcom/android/internal/app/ResolverActivity;->finish()V + .line 451 :cond_0 if-eq v0, v1, :cond_1 + .line 452 iget-object v2, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->this$0:Lcom/android/internal/app/ResolverActivity; invoke-virtual {v2}, Lcom/android/internal/app/ResolverActivity;->resizeGrid()V + .line 454 :cond_1 return-void .end method @@ -1267,6 +1409,7 @@ .param p1, "position" # I .prologue + .line 642 iget-object v3, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; invoke-interface {v3, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; @@ -1275,6 +1418,7 @@ check-cast v1, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; + .line 644 .local v1, "dri":Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo; new-instance v2, Landroid/content/Intent; @@ -1287,15 +1431,18 @@ :goto_0 invoke-direct {v2, v3}, Landroid/content/Intent;->(Landroid/content/Intent;)V + .line 646 .local v2, "intent":Landroid/content/Intent; const/high16 v3, 0x3000000 invoke-virtual {v2, v3}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent; + .line 648 iget-object v3, v1, Lcom/android/internal/app/ResolverActivity$DisplayResolveInfo;->ri:Landroid/content/pm/ResolveInfo; iget-object v0, v3, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; + .line 649 .local v0, "ai":Landroid/content/pm/ActivityInfo; new-instance v3, Landroid/content/ComponentName; @@ -1309,8 +1456,10 @@ invoke-virtual {v2, v3}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent; + .line 651 return-object v2 + .line 644 .end local v0 # "ai":Landroid/content/pm/ActivityInfo; .end local v2 # "intent":Landroid/content/Intent; :cond_0 @@ -1324,6 +1473,7 @@ .param p1, "position" # I .prologue + .line 638 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->mList:Ljava/util/List; invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object; diff --git a/overlay/smali/com/android/internal/app/ResolverActivity$ViewHolder.smali b/overlay/smali/com/android/internal/app/ResolverActivity$ViewHolder.smali index c5dfec89..4a812914 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity$ViewHolder.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity$ViewHolder.smali @@ -28,9 +28,11 @@ .param p1, "view" # Landroid/view/View; .prologue + .line 706 invoke-direct {p0}, Ljava/lang/Object;->()V - sget v0, Landroid/R$id;->text1:I + .line 707 + const v0, 0x1020014 invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; @@ -40,7 +42,8 @@ iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text:Landroid/widget/TextView; - sget v0, Landroid/R$id;->text2:I + .line 708 + const v0, 0x1020015 invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; @@ -50,7 +53,8 @@ iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->text2:Landroid/widget/TextView; - sget v0, Landroid/R$id;->icon:I + .line 709 + const v0, 0x1020006 invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View; @@ -60,5 +64,6 @@ iput-object v0, p0, Lcom/android/internal/app/ResolverActivity$ViewHolder;->icon:Landroid/widget/ImageView; + .line 710 return-void .end method diff --git a/overlay/smali/com/android/internal/app/ResolverActivity.smali b/overlay/smali/com/android/internal/app/ResolverActivity.smali index e4796b8e..7bda9451 100644 --- a/overlay/smali/com/android/internal/app/ResolverActivity.smali +++ b/overlay/smali/com/android/internal/app/ResolverActivity.smali @@ -1,5 +1,5 @@ .class public Lcom/android/internal/app/ResolverActivity; -.super Lcom/miui/internal/app/AlertActivity; +.super Lmiui/app/AlertActivity; .source "ResolverActivity.java" # interfaces @@ -53,14 +53,17 @@ .locals 1 .prologue - invoke-direct {p0}, Lcom/miui/internal/app/AlertActivity;->()V + .line 68 + invoke-direct {p0}, Lmiui/app/AlertActivity;->()V + .line 82 new-instance v0, Lcom/android/internal/app/ResolverActivity$1; invoke-direct {v0, p0}, Lcom/android/internal/app/ResolverActivity$1;->(Lcom/android/internal/app/ResolverActivity;)V iput-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor; + .line 724 return-void .end method @@ -69,6 +72,7 @@ .param p0, "x0" # Lcom/android/internal/app/ResolverActivity; .prologue + .line 68 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; return-object v0 @@ -79,6 +83,7 @@ .param p0, "x0" # Lcom/android/internal/app/ResolverActivity; .prologue + .line 68 iget-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mAlwaysUseOption:Z return v0 @@ -89,6 +94,7 @@ .param p0, "x0" # Lcom/android/internal/app/ResolverActivity; .prologue + .line 68 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mPm:Landroid/content/pm/PackageManager; return-object v0 @@ -99,6 +105,7 @@ .param p0, "x0" # Lcom/android/internal/app/ResolverActivity; .prologue + .line 68 iget-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mShowExtended:Z return v0 @@ -110,6 +117,7 @@ .param p1, "x1" # Z .prologue + .line 68 iput-boolean p1, p0, Lcom/android/internal/app/ResolverActivity;->mShowExtended:Z return p1 @@ -120,6 +128,7 @@ .param p0, "x0" # Lcom/android/internal/app/ResolverActivity; .prologue + .line 68 iget v0, p0, Lcom/android/internal/app/ResolverActivity;->mIconSize:I return v0 @@ -129,6 +138,7 @@ .locals 3 .prologue + .line 89 new-instance v0, Landroid/content/Intent; invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getIntent()Landroid/content/Intent; @@ -137,11 +147,13 @@ invoke-direct {v0, v1}, Landroid/content/Intent;->(Landroid/content/Intent;)V + .line 90 .local v0, "intent":Landroid/content/Intent; const/4 v1, 0x0 invoke-virtual {v0, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent; + .line 96 invoke-virtual {v0}, Landroid/content/Intent;->getFlags()I move-result v1 @@ -152,6 +164,7 @@ invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent; + .line 97 return-object v0 .end method @@ -163,6 +176,7 @@ .param p2, "resId" # I .prologue + .line 193 :try_start_0 iget v2, p0, Lcom/android/internal/app/ResolverActivity;->mIconDpi:I @@ -172,14 +186,17 @@ move-result-object v1 + .line 198 .local v1, "result":Landroid/graphics/drawable/Drawable; :goto_0 return-object v1 + .line 194 .end local v1 # "result":Landroid/graphics/drawable/Drawable; :catch_0 move-exception v0 + .line 195 .local v0, "e":Landroid/content/res/Resources$NotFoundException; const/4 v1, 0x0 @@ -192,6 +209,7 @@ .param p1, "ri" # Landroid/content/pm/ResolveInfo; .prologue + .line 204 :try_start_0 iget-object v3, p1, Landroid/content/pm/ResolveInfo;->resolvePackageName:Ljava/lang/String; @@ -201,6 +219,7 @@ if-eqz v3, :cond_1 + .line 205 iget-object v3, p0, Lcom/android/internal/app/ResolverActivity;->mPm:Landroid/content/pm/PackageManager; iget-object v4, p1, Landroid/content/pm/ResolveInfo;->resolvePackageName:Ljava/lang/String; @@ -215,22 +234,27 @@ move-result-object v0 + .line 206 .local v0, "dr":Landroid/graphics/drawable/Drawable; if-eqz v0, :cond_1 + .line 220 .end local v0 # "dr":Landroid/graphics/drawable/Drawable; :cond_0 :goto_0 return-object v0 + .line 210 :cond_1 invoke-virtual {p1}, Landroid/content/pm/ResolveInfo;->getIconResource()I move-result v2 + .line 211 .local v2, "iconRes":I if-eqz v2, :cond_2 + .line 212 iget-object v3, p0, Lcom/android/internal/app/ResolverActivity;->mPm:Landroid/content/pm/PackageManager; iget-object v4, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo; @@ -247,9 +271,11 @@ move-result-object v0 + .line 213 .restart local v0 # "dr":Landroid/graphics/drawable/Drawable; if-nez v0, :cond_0 + .line 220 .end local v0 # "dr":Landroid/graphics/drawable/Drawable; .end local v2 # "iconRes":I :cond_2 @@ -262,9 +288,11 @@ goto :goto_0 + .line 217 :catch_0 move-exception v1 + .line 218 .local v1, "e":Landroid/content/pm/PackageManager$NameNotFoundException; const-string v3, "ResolverActivity" @@ -284,15 +312,18 @@ const/4 v6, 0x1 + .line 104 invoke-direct {p0}, Lcom/android/internal/app/ResolverActivity;->makeMyIntent()Landroid/content/Intent; move-result-object v2 + .line 105 .local v2, "intent":Landroid/content/Intent; invoke-virtual {v2}, Landroid/content/Intent;->getCategories()Ljava/util/Set; move-result-object v7 + .line 106 .local v7, "categories":Ljava/util/Set;, "Ljava/util/Set;" const-string v0, "android.intent.action.MAIN" @@ -322,8 +353,10 @@ if-eqz v0, :cond_0 - sget v8, Landroid/miui/R$string;->android_whichHomeApplication:I + .line 110 + const v8, 0x11070045 + .line 115 .local v8, "titleResource":I :goto_0 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getResources()Landroid/content/res/Resources; @@ -342,11 +375,13 @@ invoke-virtual/range {v0 .. v6}, Lcom/android/internal/app/ResolverActivity;->onCreate(Landroid/os/Bundle;Landroid/content/Intent;Ljava/lang/CharSequence;[Landroid/content/Intent;Ljava/util/List;Z)V + .line 117 return-void + .line 112 .end local v8 # "titleResource":I :cond_0 - sget v8, Landroid/miui/R$string;->android_whichApplication:I + const v8, 0x11070046 .restart local v8 # "titleResource":I goto :goto_0 @@ -375,13 +410,16 @@ .end annotation .prologue + .line 122 .local p5, "rList":Ljava/util/List;, "Ljava/util/List;" sget v1, Lmiui/R$style;->Theme_Light_Dialog_Alert:I invoke-virtual {p0, v1}, Lcom/android/internal/app/ResolverActivity;->setTheme(I)V - invoke-super {p0, p1}, Lcom/miui/internal/app/AlertActivity;->onCreate(Landroid/os/Bundle;)V + .line 123 + invoke-super {p0, p1}, Lmiui/app/AlertActivity;->onCreate(Landroid/os/Bundle;)V + .line 125 :try_start_0 invoke-static {}, Landroid/app/ActivityManagerNative;->getDefault()Landroid/app/IActivityManager; @@ -399,6 +437,7 @@ :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0 + .line 130 :goto_0 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getPackageManager()Landroid/content/pm/PackageManager; @@ -406,17 +445,21 @@ iput-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mPm:Landroid/content/pm/PackageManager; + .line 131 move/from16 v0, p6 iput-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mAlwaysUseOption:Z + .line 133 iget-object v10, p0, Lcom/android/internal/app/ResolverActivity;->mAlertParams:Lcom/android/internal/app/AlertController$AlertParams; + .line 134 .local v10, "ap":Lcom/android/internal/app/AlertController$AlertParams; move-object/from16 v0, p3 iput-object v0, v10, Lcom/android/internal/app/AlertController$AlertParams;->mTitle:Ljava/lang/CharSequence; + .line 136 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor; invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getMainLooper()Landroid/os/Looper; @@ -427,10 +470,12 @@ invoke-virtual {v1, p0, v2, v3}, Lcom/android/internal/content/PackageMonitor;->register(Landroid/content/Context;Landroid/os/Looper;Z)V + .line 137 const/4 v1, 0x1 iput-boolean v1, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z + .line 139 const-string v1, "activity" invoke-virtual {p0, v1}, Lcom/android/internal/app/ResolverActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; @@ -439,6 +484,7 @@ check-cast v9, Landroid/app/ActivityManager; + .line 140 .local v9, "am":Landroid/app/ActivityManager; invoke-virtual {v9}, Landroid/app/ActivityManager;->getLauncherLargeIconDensity()I @@ -446,12 +492,14 @@ iput v1, p0, Lcom/android/internal/app/ResolverActivity;->mIconDpi:I + .line 141 invoke-virtual {v9}, Landroid/app/ActivityManager;->getLauncherLargeIconSize()I move-result v1 iput v1, p0, Lcom/android/internal/app/ResolverActivity;->mIconSize:I + .line 143 new-instance v1, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; iget v7, p0, Lcom/android/internal/app/ResolverActivity;->mLaunchedFromUid:I @@ -470,12 +518,14 @@ iput-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; + .line 145 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; invoke-virtual {v1}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->getCount()I move-result v11 + .line 146 .local v11, "count":I iget v1, p0, Lcom/android/internal/app/ResolverActivity;->mLaunchedFromUid:I @@ -489,19 +539,23 @@ if-eqz v1, :cond_2 + .line 148 :cond_0 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->finish()V + .line 183 :cond_1 :goto_1 return-void + .line 127 .end local v9 # "am":Landroid/app/ActivityManager; .end local v10 # "ap":Lcom/android/internal/app/AlertController$AlertParams; .end local v11 # "count":I :catch_0 move-exception v12 + .line 128 .local v12, "e":Landroid/os/RemoteException; const/4 v1, -0x1 @@ -509,6 +563,7 @@ goto :goto_0 + .line 150 .end local v12 # "e":Landroid/os/RemoteException; .restart local v9 # "am":Landroid/app/ActivityManager; .restart local v10 # "ap":Lcom/android/internal/app/AlertController$AlertParams; @@ -518,11 +573,12 @@ if-le v11, v1, :cond_4 + .line 151 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getLayoutInflater()Landroid/view/LayoutInflater; move-result-object v1 - sget v2, Landroid/miui/R$layout;->resolver_grid:I + const v2, 0x11030008 const/4 v3, 0x0 @@ -532,9 +588,10 @@ iput-object v1, v10, Lcom/android/internal/app/AlertController$AlertParams;->mView:Landroid/view/View; + .line 152 iget-object v1, v10, Lcom/android/internal/app/AlertController$AlertParams;->mView:Landroid/view/View; - sget v2, Landroid/miui/R$id;->resolver_grid:I + const v2, 0x110b001a invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; @@ -544,16 +601,19 @@ iput-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; + .line 153 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; iget-object v2, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; invoke-virtual {v1, v2}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V + .line 154 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; invoke-virtual {v1, p0}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V + .line 155 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; new-instance v2, Lcom/android/internal/app/ResolverActivity$ItemLongClickListener; @@ -562,23 +622,29 @@ invoke-virtual {v1, v2}, Landroid/widget/GridView;->setOnItemLongClickListener(Landroid/widget/AdapterView$OnItemLongClickListener;)V + .line 157 if-eqz p6, :cond_3 + .line 158 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; const/4 v2, 0x1 invoke-virtual {v1, v2}, Landroid/widget/GridView;->setChoiceMode(I)V + .line 161 :cond_3 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->resizeGrid()V + .line 172 :goto_2 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->setupAlert()V + .line 174 if-eqz p6, :cond_1 - sget v1, Landroid/miui/R$id;->always_option:I + .line 175 + const v1, 0x110b001c invoke-virtual {p0, v1}, Lcom/android/internal/app/ResolverActivity;->findViewById(I)Landroid/view/View; @@ -586,25 +652,30 @@ check-cast v8, Landroid/widget/CheckBox; + .line 176 .local v8, "alwaysOption":Landroid/widget/CheckBox; if-eqz v8, :cond_6 + .line 177 const/4 v1, 0x0 invoke-virtual {v8, v1}, Landroid/widget/CheckBox;->setVisibility(I)V + .line 178 const/4 v1, 0x0 invoke-virtual {v8, v1}, Landroid/widget/CheckBox;->setChecked(Z)V goto :goto_1 + .line 162 .end local v8 # "alwaysOption":Landroid/widget/CheckBox; :cond_4 const/4 v1, 0x1 if-ne v11, v1, :cond_5 + .line 163 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; const/4 v2, 0x0 @@ -615,24 +686,28 @@ invoke-virtual {p0, v1}, Lcom/android/internal/app/ResolverActivity;->startActivity(Landroid/content/Intent;)V + .line 164 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor; invoke-virtual {v1}, Lcom/android/internal/content/PackageMonitor;->unregister()V + .line 165 const/4 v1, 0x0 iput-boolean v1, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z + .line 166 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->finish()V goto :goto_1 + .line 169 :cond_5 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getResources()Landroid/content/res/Resources; move-result-object v1 - sget v2, Landroid/miui/R$string;->android_noApplications:I + const v2, 0x11070047 invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence; @@ -642,6 +717,7 @@ goto :goto_2 + .line 180 .restart local v8 # "alwaysOption":Landroid/widget/CheckBox; :cond_6 const/4 v1, 0x0 @@ -658,6 +734,7 @@ .param p3, "alwaysCheck" # Z .prologue + .line 288 move-object/from16 v0, p0 iget-boolean v2, v0, Lcom/android/internal/app/ResolverActivity;->mAlwaysUseOption:Z @@ -672,10 +749,12 @@ if-eqz v2, :cond_10 + .line 290 new-instance v6, Landroid/content/IntentFilter; invoke-direct {v6}, Landroid/content/IntentFilter;->()V + .line 292 .local v6, "filter":Landroid/content/IntentFilter; invoke-virtual/range {p2 .. p2}, Landroid/content/Intent;->getAction()Ljava/lang/String; @@ -683,20 +762,24 @@ if-eqz v2, :cond_0 + .line 293 invoke-virtual/range {p2 .. p2}, Landroid/content/Intent;->getAction()Ljava/lang/String; move-result-object v2 invoke-virtual {v6, v2}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V + .line 295 :cond_0 invoke-virtual/range {p2 .. p2}, Landroid/content/Intent;->getCategories()Ljava/util/Set; move-result-object v13 + .line 296 .local v13, "categories":Ljava/util/Set;, "Ljava/util/Set;" if-eqz v13, :cond_1 + .line 297 invoke-interface {v13}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v17 @@ -715,11 +798,13 @@ check-cast v12, Ljava/lang/String; + .line 298 .local v12, "cat":Ljava/lang/String; invoke-virtual {v6, v12}, Landroid/content/IntentFilter;->addCategory(Ljava/lang/String;)V goto :goto_0 + .line 301 .end local v12 # "cat":Ljava/lang/String; .end local v17 # "i$":Ljava/util/Iterator; :cond_1 @@ -727,6 +812,7 @@ invoke-virtual {v6, v2}, Landroid/content/IntentFilter;->addCategory(Ljava/lang/String;)V + .line 303 move-object/from16 v0, p1 iget v2, v0, Landroid/content/pm/ResolveInfo;->match:I @@ -735,16 +821,19 @@ and-int v12, v2, v3 + .line 304 .local v12, "cat":I invoke-virtual/range {p2 .. p2}, Landroid/content/Intent;->getData()Landroid/net/Uri; move-result-object v14 + .line 305 .local v14, "data":Landroid/net/Uri; const/high16 v2, 0x600000 if-ne v12, v2, :cond_2 + .line 306 move-object/from16 v0, p2 move-object/from16 v1, p0 @@ -753,9 +842,11 @@ move-result-object v18 + .line 307 .local v18, "mimeType":Ljava/lang/String; if-eqz v18, :cond_2 + .line 309 :try_start_0 move-object/from16 v0, v18 @@ -763,6 +854,7 @@ :try_end_0 .catch Landroid/content/IntentFilter$MalformedMimeTypeException; {:try_start_0 .. :try_end_0} :catch_0 + .line 316 .end local v18 # "mimeType":Ljava/lang/String; :cond_2 :goto_1 @@ -774,6 +866,7 @@ if-eqz v2, :cond_9 + .line 320 const/high16 v2, 0x600000 if-ne v12, v2, :cond_3 @@ -802,6 +895,7 @@ if-nez v2, :cond_9 + .line 323 :cond_3 invoke-virtual {v14}, Landroid/net/Uri;->getScheme()Ljava/lang/String; @@ -809,6 +903,7 @@ invoke-virtual {v6, v2}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V + .line 327 move-object/from16 v0, p1 iget-object v2, v0, Landroid/content/pm/ResolveInfo;->filter:Landroid/content/IntentFilter; @@ -823,14 +918,17 @@ move-result-object v20 + .line 329 .local v20, "pIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" :goto_2 if-eqz v20, :cond_5 + .line 330 invoke-virtual {v14}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String; move-result-object v26 + .line 331 .local v26, "ssp":Ljava/lang/String; :cond_4 if-eqz v26, :cond_5 @@ -841,12 +939,14 @@ if-eqz v2, :cond_5 + .line 332 invoke-interface/range {v20 .. v20}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v19 check-cast v19, Landroid/os/PatternMatcher; + .line 333 .local v19, "p":Landroid/os/PatternMatcher; move-object/from16 v0, v19 @@ -858,6 +958,7 @@ if-eqz v2, :cond_4 + .line 334 invoke-virtual/range {v19 .. v19}, Landroid/os/PatternMatcher;->getPath()Ljava/lang/String; move-result-object v2 @@ -868,6 +969,7 @@ invoke-virtual {v6, v2, v3}, Landroid/content/IntentFilter;->addDataSchemeSpecificPart(Ljava/lang/String;I)V + .line 339 .end local v19 # "p":Landroid/os/PatternMatcher; .end local v26 # "ssp":Ljava/lang/String; :cond_5 @@ -885,10 +987,12 @@ move-result-object v11 + .line 341 .local v11, "aIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" :goto_3 if-eqz v11, :cond_7 + .line 342 :cond_6 invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z @@ -896,12 +1000,14 @@ if-eqz v2, :cond_7 + .line 343 invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v10 check-cast v10, Landroid/content/IntentFilter$AuthorityEntry; + .line 344 .local v10, "a":Landroid/content/IntentFilter$AuthorityEntry; invoke-virtual {v10, v14}, Landroid/content/IntentFilter$AuthorityEntry;->match(Landroid/net/Uri;)I @@ -909,10 +1015,12 @@ if-ltz v2, :cond_6 + .line 345 invoke-virtual {v10}, Landroid/content/IntentFilter$AuthorityEntry;->getPort()I move-result v22 + .line 346 .local v22, "port":I invoke-virtual {v10}, Landroid/content/IntentFilter$AuthorityEntry;->getHost()Ljava/lang/String; @@ -927,6 +1035,7 @@ :goto_4 invoke-virtual {v6, v3, v2}, Landroid/content/IntentFilter;->addDataAuthority(Ljava/lang/String;Ljava/lang/String;)V + .line 353 .end local v10 # "a":Landroid/content/IntentFilter$AuthorityEntry; .end local v22 # "port":I :cond_7 @@ -946,13 +1055,16 @@ move-result-object v20 + .line 354 :goto_5 if-eqz v20, :cond_9 + .line 355 invoke-virtual {v14}, Landroid/net/Uri;->getPath()Ljava/lang/String; move-result-object v21 + .line 356 .local v21, "path":Ljava/lang/String; :cond_8 if-eqz v21, :cond_9 @@ -963,12 +1075,14 @@ if-eqz v2, :cond_9 + .line 357 invoke-interface/range {v20 .. v20}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v19 check-cast v19, Landroid/os/PatternMatcher; + .line 358 .restart local v19 # "p":Landroid/os/PatternMatcher; move-object/from16 v0, v19 @@ -980,6 +1094,7 @@ if-eqz v2, :cond_8 + .line 359 invoke-virtual/range {v19 .. v19}, Landroid/os/PatternMatcher;->getPath()Ljava/lang/String; move-result-object v2 @@ -990,6 +1105,7 @@ invoke-virtual {v6, v2, v3}, Landroid/content/IntentFilter;->addDataPath(Ljava/lang/String;I)V + .line 367 .end local v11 # "aIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" .end local v19 # "p":Landroid/os/PatternMatcher; .end local v20 # "pIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" @@ -997,6 +1113,7 @@ :cond_9 if-eqz v6, :cond_10 + .line 368 move-object/from16 v0, p0 iget-object v2, v0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -1007,14 +1124,17 @@ move-result v9 + .line 369 .local v9, "N":I new-array v0, v9, [Landroid/content/ComponentName; move-object/from16 v25, v0 + .line 370 .local v25, "set":[Landroid/content/ComponentName; const/4 v7, 0x0 + .line 371 .local v7, "bestMatch":I const/16 v16, 0x0 @@ -1024,6 +1144,7 @@ if-ge v0, v9, :cond_f + .line 372 move-object/from16 v0, p0 iget-object v2, v0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -1038,6 +1159,7 @@ check-cast v23, Landroid/content/pm/ResolveInfo; + .line 373 .local v23, "r":Landroid/content/pm/ResolveInfo; new-instance v2, Landroid/content/ComponentName; @@ -1057,6 +1179,7 @@ aput-object v2, v25, v16 + .line 375 move-object/from16 v0, v23 iget v2, v0, Landroid/content/pm/ResolveInfo;->match:I @@ -1067,11 +1190,13 @@ iget v7, v0, Landroid/content/pm/ResolveInfo;->match:I + .line 371 :cond_a add-int/lit8 v16, v16, 0x1 goto :goto_6 + .line 310 .end local v7 # "bestMatch":I .end local v9 # "N":I .end local v16 # "i":I @@ -1081,15 +1206,18 @@ :catch_0 move-exception v15 + .line 311 .local v15, "e":Landroid/content/IntentFilter$MalformedMimeTypeException; const-string v2, "ResolverActivity" invoke-static {v2, v15}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I + .line 312 const/4 v6, 0x0 goto/16 :goto_1 + .line 327 .end local v15 # "e":Landroid/content/IntentFilter$MalformedMimeTypeException; .end local v18 # "mimeType":Ljava/lang/String; :cond_b @@ -1097,12 +1225,14 @@ goto/16 :goto_2 + .line 339 .restart local v20 # "pIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" :cond_c const/4 v11, 0x0 goto/16 :goto_3 + .line 346 .restart local v10 # "a":Landroid/content/IntentFilter$AuthorityEntry; .restart local v11 # "aIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" .restart local v22 # "port":I @@ -1111,6 +1241,7 @@ goto/16 :goto_4 + .line 353 .end local v10 # "a":Landroid/content/IntentFilter$AuthorityEntry; .end local v22 # "port":I :cond_e @@ -1118,6 +1249,7 @@ goto/16 :goto_5 + .line 377 .end local v11 # "aIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" .end local v20 # "pIt":Ljava/util/Iterator;, "Ljava/util/Iterator;" .restart local v7 # "bestMatch":I @@ -1127,6 +1259,7 @@ :cond_f if-eqz p3, :cond_12 + .line 378 invoke-virtual/range {p0 .. p0}, Lcom/android/internal/app/ResolverActivity;->getPackageManager()Landroid/content/pm/PackageManager; move-result-object v2 @@ -1139,6 +1272,7 @@ invoke-virtual {v2, v6, v7, v0, v3}, Landroid/content/pm/PackageManager;->addPreferredActivity(Landroid/content/IntentFilter;I[Landroid/content/ComponentName;Landroid/content/ComponentName;)V + .line 393 .end local v6 # "filter":Landroid/content/IntentFilter; .end local v7 # "bestMatch":I .end local v9 # "N":I @@ -1151,15 +1285,18 @@ :goto_7 if-eqz p2, :cond_11 + .line 394 move-object/from16 v0, p0 move-object/from16 v1, p2 invoke-virtual {v0, v1}, Lcom/android/internal/app/ResolverActivity;->startActivity(Landroid/content/Intent;)V + .line 396 :cond_11 return-void + .line 382 .restart local v6 # "filter":Landroid/content/IntentFilter; .restart local v7 # "bestMatch":I .restart local v9 # "N":I @@ -1198,9 +1335,11 @@ goto :goto_7 + .line 386 :catch_1 move-exception v24 + .line 387 .local v24, "re":Landroid/os/RemoteException; const-string v2, "ResolverActivity" @@ -1245,11 +1384,13 @@ .end annotation .prologue + .line 268 .local p1, "parent":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;" const/4 v0, 0x0 + .line 269 .local v0, "always":Z - sget v2, Landroid/miui/R$id;->always_option:I + const v2, 0x110b001c invoke-virtual {p0, v2}, Lcom/android/internal/app/ResolverActivity;->findViewById(I)Landroid/view/View; @@ -1257,6 +1398,7 @@ check-cast v1, Landroid/widget/CheckBox; + .line 270 .local v1, "alwaysOption":Landroid/widget/CheckBox; invoke-virtual {v1}, Landroid/widget/CheckBox;->getVisibility()I @@ -1264,13 +1406,16 @@ if-nez v2, :cond_0 + .line 271 invoke-virtual {v1}, Landroid/widget/CheckBox;->isChecked()Z move-result v0 + .line 273 :cond_0 invoke-virtual {p0, p3, v0}, Lcom/android/internal/app/ResolverActivity;->startSelected(IZ)V + .line 274 return-void .end method @@ -1278,12 +1423,15 @@ .locals 3 .prologue - invoke-super {p0}, Lcom/miui/internal/app/AlertActivity;->onRestart()V + .line 225 + invoke-super {p0}, Lmiui/app/AlertActivity;->onRestart()V + .line 226 iget-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z if-nez v0, :cond_0 + .line 227 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor; invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getMainLooper()Landroid/os/Looper; @@ -1294,15 +1442,18 @@ invoke-virtual {v0, p0, v1, v2}, Lcom/android/internal/content/PackageMonitor;->register(Landroid/content/Context;Landroid/os/Looper;Z)V + .line 228 const/4 v0, 0x1 iput-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z + .line 230 :cond_0 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; invoke-virtual {v0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->handlePackagesChanged()V + .line 231 return-void .end method @@ -1311,18 +1462,22 @@ .param p1, "savedInstanceState" # Landroid/os/Bundle; .prologue - invoke-super {p0, p1}, Lcom/miui/internal/app/AlertActivity;->onRestoreInstanceState(Landroid/os/Bundle;)V + .line 256 + invoke-super {p0, p1}, Lmiui/app/AlertActivity;->onRestoreInstanceState(Landroid/os/Bundle;)V + .line 257 iget-boolean v2, p0, Lcom/android/internal/app/ResolverActivity;->mAlwaysUseOption:Z if-eqz v2, :cond_0 + .line 258 iget-object v2, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; invoke-virtual {v2}, Landroid/widget/GridView;->getCheckedItemPosition()I move-result v0 + .line 259 .local v0, "checkedPos":I const/4 v2, -0x1 @@ -1330,19 +1485,23 @@ const/4 v1, 0x1 + .line 260 .local v1, "enabled":Z :goto_0 if-eqz v1, :cond_0 + .line 261 iget-object v2, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; invoke-virtual {v2, v0}, Landroid/widget/GridView;->setSelection(I)V + .line 264 .end local v0 # "checkedPos":I .end local v1 # "enabled":Z :cond_0 return-void + .line 259 .restart local v0 # "checkedPos":I :cond_1 const/4 v1, 0x0 @@ -1354,20 +1513,25 @@ .locals 2 .prologue - invoke-super {p0}, Lcom/miui/internal/app/AlertActivity;->onStop()V + .line 235 + invoke-super {p0}, Lmiui/app/AlertActivity;->onStop()V + .line 236 iget-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z if-eqz v0, :cond_0 + .line 237 iget-object v0, p0, Lcom/android/internal/app/ResolverActivity;->mPackageMonitor:Lcom/android/internal/content/PackageMonitor; invoke-virtual {v0}, Lcom/android/internal/content/PackageMonitor;->unregister()V + .line 238 const/4 v0, 0x0 iput-boolean v0, p0, Lcom/android/internal/app/ResolverActivity;->mRegistered:Z + .line 240 :cond_0 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->getIntent()Landroid/content/Intent; @@ -1383,14 +1547,17 @@ if-eqz v0, :cond_1 + .line 248 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->isChangingConfigurations()Z move-result v0 if-nez v0, :cond_1 + .line 249 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->finish()V + .line 252 :cond_1 return-void .end method @@ -1399,12 +1566,14 @@ .locals 3 .prologue + .line 186 iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; invoke-virtual {v1}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->getCount()I move-result v0 + .line 187 .local v0, "itemCount":I iget-object v1, p0, Lcom/android/internal/app/ResolverActivity;->mGridView:Landroid/widget/GridView; @@ -1416,6 +1585,7 @@ invoke-virtual {v1, v2}, Landroid/widget/GridView;->setNumColumns(I)V + .line 188 return-void .end method @@ -1424,6 +1594,7 @@ .param p1, "ri" # Landroid/content/pm/ResolveInfo; .prologue + .line 399 new-instance v1, Landroid/content/Intent; invoke-direct {v1}, Landroid/content/Intent;->()V @@ -1456,9 +1627,11 @@ move-result-object v0 + .line 402 .local v0, "in":Landroid/content/Intent; invoke-virtual {p0, v0}, Lcom/android/internal/app/ResolverActivity;->startActivity(Landroid/content/Intent;)V + .line 403 return-void .end method @@ -1468,15 +1641,18 @@ .param p2, "always" # Z .prologue + .line 278 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->isFinishing()Z move-result v2 if-eqz v2, :cond_0 + .line 285 :goto_0 return-void + .line 281 :cond_0 iget-object v2, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -1484,6 +1660,7 @@ move-result-object v1 + .line 282 .local v1, "ri":Landroid/content/pm/ResolveInfo; iget-object v2, p0, Lcom/android/internal/app/ResolverActivity;->mAdapter:Lcom/android/internal/app/ResolverActivity$ResolveListAdapter; @@ -1491,9 +1668,11 @@ move-result-object v0 + .line 283 .local v0, "intent":Landroid/content/Intent; invoke-virtual {p0, v1, v0, p2}, Lcom/android/internal/app/ResolverActivity;->onIntentSelected(Landroid/content/pm/ResolveInfo;Landroid/content/Intent;Z)V + .line 284 invoke-virtual {p0}, Lcom/android/internal/app/ResolverActivity;->finish()V goto :goto_0