Skip to content

Commit

Permalink
Merge pull request #15 from wangtongli/v6-kitkat
Browse files Browse the repository at this point in the history
change overlay's smali to lastet smali
  • Loading branch information
mcming1989 committed Jun 18, 2015
2 parents ebe467e + 55c9a2f commit 02d13b1
Show file tree
Hide file tree
Showing 7 changed files with 373 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;-><init>()V
Expand All @@ -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;
Expand All @@ -45,5 +47,6 @@

invoke-virtual {v0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->handlePackagesChanged()V

.line 85
return-void
.end method
Original file line number Diff line number Diff line change
Expand Up @@ -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;-><init>()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
Original file line number Diff line number Diff line change
Expand Up @@ -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;-><init>()V
Expand All @@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;-><init>()V
Expand All @@ -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;
Expand All @@ -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
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -106,6 +113,7 @@

invoke-virtual {v0}, Lcom/android/internal/app/ResolverActivity$ResolveListAdapter;->notifyDataSetChanged()V

.line 738
return-void
.end method

Expand All @@ -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;
Expand Down
Loading

0 comments on commit 02d13b1

Please sign in to comment.