Skip to content
Browse files

update to 2.4.20

  • Loading branch information...
1 parent 39c5d12 commit 9f0f5610b3b1f2988fc81d637f1cc172e78a396d @genokolar committed Apr 20, 2012
View
3 Settings/res/values/bools.xml.part
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <bool name="has_multi_touch">true</bool>
+<resources>
<bool name="has_led">true</bool>
</resources>
View
1 framework.jar.out/smali/android/content/pm/PackageManager.smali
@@ -274,6 +274,7 @@
.field public static final VERIFICATION_REJECT:I = -0x1
+.field public static final HAS_ACTIVITY:I = 0x20000
# direct methods
.method public constructor <init>()V
View
24 framework.jar.out/smali/android/widget/AbsListView.smali
@@ -303,7 +303,9 @@
.field mWidthMeasureSpec:I
-.field mTouchPadding:I
+.field mTouchPaddingLeft:I
+
+.field mTouchPaddingRight:I
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
@@ -15811,15 +15813,17 @@
goto :goto_0
.end method
-.method public setTouchPadding(I)V
+.method public setTouchPadding(II)V
.locals 0
- .parameter "padding"
+ .parameter "paddingLeft"
+ .parameter "paddingRight"
.annotation build Landroid/annotation/MiuiHook;
value = .enum Landroid/annotation/MiuiHook$MiuiHookType;->NEW_METHOD:Landroid/annotation/MiuiHook$MiuiHookType;
.end annotation
.prologue
- iput p1, p0, Landroid/widget/AbsListView;->mTouchPadding:I
+ iput p1, p0, Landroid/widget/AbsListView;->mTouchPaddingLeft:I
+ iput p2, p0, Landroid/widget/AbsListView;->mTouchPaddingRight:I
return-void
.end method
@@ -15836,11 +15840,7 @@
move-result v0
- iget v1, p0, Landroid/widget/AbsListView;->mPaddingLeft:I
-
- iget v2, p0, Landroid/widget/AbsListView;->mTouchPadding:I
-
- add-int/2addr v1, v2
+ iget v1, p0, Landroid/widget/AbsListView;->mTouchPaddingLeft:I
int-to-float v1, v1
@@ -15856,11 +15856,7 @@
move-result v1
- iget v2, p0, Landroid/widget/AbsListView;->mPaddingLeft:I
-
- sub-int/2addr v1, v2
-
- iget v2, p0, Landroid/widget/AbsListView;->mTouchPadding:I
+ iget v2, p0, Landroid/widget/AbsListView;->mTouchPaddingRight:I
sub-int/2addr v1, v2
View
85 framework.jar.out/smali/android/widget/QuickContactBadge.smali
@@ -509,21 +509,21 @@
.end method
.method protected onDraw(Landroid/graphics/Canvas;)V
- .locals 5
+ .locals 6
.parameter "canvas"
.prologue
- const/4 v4, 0x0
+ const/4 v5, 0x0
.line 109
invoke-super {p0, p1}, Landroid/widget/ImageView;->onDraw(Landroid/graphics/Canvas;)V
.line 111
invoke-virtual {p0}, Landroid/widget/QuickContactBadge;->isEnabled()Z
- move-result v1
+ move-result v2
- if-nez v1, :cond_1
+ if-nez v2, :cond_1
.line 133
:cond_0
@@ -532,83 +532,96 @@
.line 116
:cond_1
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
- if-eqz v1, :cond_0
+ if-eqz v2, :cond_0
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
- invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
+ invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
- move-result v1
+ move-result v2
- if-eqz v1, :cond_0
+ if-eqz v2, :cond_0
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
- invoke-virtual {v1}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
+ invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
- move-result v1
+ move-result v2
- if-eqz v1, :cond_0
+ if-eqz v2, :cond_0
.line 122
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
invoke-virtual {p0}, Landroid/widget/QuickContactBadge;->getWidth()I
- move-result v2
+ move-result v3
invoke-virtual {p0}, Landroid/widget/QuickContactBadge;->getHeight()I
- move-result v3
+ move-result v4
- invoke-virtual {v1, v4, v4, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
+ invoke-virtual {v2, v5, v5, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
+
+ iget v2, p0, Landroid/widget/QuickContactBadge;->mPaddingTop:I
+ if-nez v2, :cond_2
.line 124
- iget v1, p0, Landroid/widget/QuickContactBadge;->mPaddingTop:I
+ iget v2, p0, Landroid/widget/QuickContactBadge;->mPaddingTop:I
- if-nez v1, :cond_2
+ if-nez v2, :cond_2
- iget v1, p0, Landroid/widget/QuickContactBadge;->mPaddingLeft:I
+ iget v2, p0, Landroid/widget/QuickContactBadge;->mPaddingBottom:I
- if-nez v1, :cond_2
+ if-nez v2, :cond_2
.line 125
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ iget v2, p0, Landroid/widget/QuickContactBadge;->mPaddingRight:I
- invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
+ if-nez v2, :cond_2
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+
+ invoke-virtual {v2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_0
.line 127
:cond_2
- invoke-virtual {p1}, Landroid/graphics/Canvas;->getSaveCount()I
+ invoke-virtual {p0}, Landroid/widget/QuickContactBadge;->getWidth()I
- move-result v0
+ move-result v2
.line 128
- .local v0, saveCount:I
- invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
+ iget v3, p0, Landroid/widget/QuickContactBadge;->mPaddingRight:I
.line 129
- iget v1, p0, Landroid/widget/QuickContactBadge;->mPaddingLeft:I
+ sub-int v1, v2, v3
+
+ .local v1, right:I
+ invoke-virtual {p0}, Landroid/widget/QuickContactBadge;->getHeight()I
- int-to-float v1, v1
+ move-result v2
- iget v2, p0, Landroid/widget/QuickContactBadge;->mPaddingTop:I
+ iget v3, p0, Landroid/widget/QuickContactBadge;->mPaddingBottom:I
+
+ sub-int v0, v2, v3
+
+ .local v0, bottom:I
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
- int-to-float v2, v2
+ iget v3, p0, Landroid/widget/QuickContactBadge;->mPaddingLeft:I
- invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->translate(FF)V
+ iget v4, p0, Landroid/widget/QuickContactBadge;->mPaddingTop:I
.line 130
- iget-object v1, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
+ invoke-virtual {v2, v3, v4, v1, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
- invoke-virtual {v1, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
+ iget-object v2, p0, Landroid/widget/QuickContactBadge;->mOverlay:Landroid/graphics/drawable/Drawable;
.line 131
- invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
+ invoke-virtual {v2, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
goto :goto_0
.end method
View
19 framework.jar.out/smali/com/android/internal/app/ActionBarImpl.smali
@@ -1686,6 +1686,23 @@
.prologue
.line 177
+ iget-object v0, p0, Lcom/android/internal/app/ActionBarImpl;->mActivity:Landroid/app/Activity;
+
+ invoke-virtual {v0}, Landroid/app/Activity;->isResumed()Z
+
+ move-result v0
+
+ if-nez v0, :cond_0
+
+ iget-object v0, p0, Lcom/android/internal/app/ActionBarImpl;->mContainerView:Lcom/android/internal/widget/ActionBarContainer;
+
+ invoke-virtual {v0, p1}, Lcom/android/internal/widget/ActionBarContainer;->dispatchConfigurationChanged(Landroid/content/res/Configuration;)V
+
+ iget-object v0, p0, Lcom/android/internal/app/ActionBarImpl;->mSplitView:Lcom/android/internal/widget/ActionBarContainer;
+
+ invoke-virtual {v0, p1}, Lcom/android/internal/widget/ActionBarContainer;->dispatchConfigurationChanged(Landroid/content/res/Configuration;)V
+
+ :cond_0
iget-object v0, p0, Lcom/android/internal/app/ActionBarImpl;->mContext:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
@@ -2496,7 +2513,7 @@
.line 312
new-instance v0, Ljava/lang/IllegalStateException;
- const-string/jumbo v1, "setSelectedNavigationIndex not valid for current navigation mode"
+ const-string v1, "setSelectedNavigationIndex not valid for current navigation mode"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
View
62 framework.jar.out/smali/com/android/internal/widget/ActionBarView$HomeView.smali
@@ -21,6 +21,7 @@
.field private mUpWidth:I
+.field private mIconDrawable:Landroid/graphics/drawable/Drawable;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
@@ -80,29 +81,12 @@
.end method
.method public getLeftOffset()I
- .locals 2
+ .locals 1
.prologue
- .line 1239
- iget-object v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mUpView:Landroid/view/View;
-
- invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
-
- move-result v0
-
- const/16 v1, 0x8
-
- if-ne v0, v1, :cond_0
-
- iget v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mUpWidth:I
-
- :goto_0
- return v0
-
- :cond_0
const/4 v0, 0x0
- goto :goto_0
+ return v0
.end method
.method protected onFinishInflate()V
@@ -600,14 +584,14 @@
.end method
.method public setIcon(Landroid/graphics/drawable/Drawable;)V
- .locals 1
+ .locals 0
.parameter "icon"
.prologue
.line 1208
- iget-object v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mIconView:Landroid/widget/ImageView;
+ iput-object p1, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mIconDrawable:Landroid/graphics/drawable/Drawable;
- invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
+ invoke-direct {p0}, Lcom/android/internal/widget/ActionBarView$HomeView;->setIcon()V
.line 1209
return-void
@@ -629,6 +613,7 @@
invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V
.line 1205
+ invoke-direct {p0}, Lcom/android/internal/widget/ActionBarView$HomeView;->setIcon()V
return-void
.line 1204
@@ -637,3 +622,36 @@
goto :goto_0
.end method
+
+.method private setIcon()V
+ .locals 2
+
+ .prologue
+ .line 1239
+ iget-object v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mUpView:Landroid/view/View;
+
+ invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
+
+ move-result v0
+
+ if-nez v0, :cond_0
+
+ .line 1250
+ iget-object v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mIconView:Landroid/widget/ImageView;
+
+ const/4 v1, 0x0
+
+ invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
+
+ :goto_0
+ return-void
+
+ :cond_0
+ iget-object v0, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mIconView:Landroid/widget/ImageView;
+
+ iget-object v1, p0, Lcom/android/internal/widget/ActionBarView$HomeView;->mIconDrawable:Landroid/graphics/drawable/Drawable;
+
+ invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
+
+ goto :goto_0
+.end method
View
16 services.jar.out/smali/com/android/server/am/ActivityManagerService$2.smali
@@ -172,15 +172,25 @@
iget-object v3, v0, Lcom/android/server/am/ActivityManagerService$2;->this$0:Lcom/android/server/am/ActivityManagerService;
- iget-object v3, v3, Lcom/android/server/am/ActivityManagerService;->mContext:Landroid/content/Context;
+ iget-object v5, v3, Lcom/android/server/am/ActivityManagerService;->mContext:Landroid/content/Context;
+
+ const-string v3, "crash"
+
+ move-object/from16 v0, v21
+
+ invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
+
+ move-result-object v3
+
+ check-cast v3, Landroid/app/ApplicationErrorReport$CrashInfo;
move-object/from16 v0, v20
move-object/from16 v1, v42
move-object/from16 v2, v38
- invoke-direct {v0, v3, v1, v2}, Lcom/android/server/am/AppErrorDialog;-><init>(Landroid/content/Context;Lcom/android/server/am/AppErrorResult;Lcom/android/server/am/ProcessRecord;)V
+ invoke-direct {v0, v5, v1, v2, v3}, Lcom/android/server/am/AppErrorDialog;-><init>(Landroid/content/Context;Lcom/android/server/am/AppErrorResult;Lcom/android/server/am/ProcessRecord;Landroid/app/ApplicationErrorReport$CrashInfo;)V
.line 897
.local v20, d:Landroid/app/Dialog;
@@ -207,7 +217,7 @@
invoke-virtual {v3}, Lcom/android/server/am/ActivityManagerService;->ensureBootCompleted()V
- goto :goto_0
+ goto/16 :goto_0
.line 902
:cond_2
View
6 services.jar.out/smali/com/android/server/am/ActivityManagerService.smali
@@ -11556,6 +11556,12 @@
invoke-virtual {v12, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 7783
+ const-string v3, "crash"
+
+ move-object/from16 v0, p2
+
+ invoke-virtual {v12, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
+
iput-object v12, v15, Landroid/os/Message;->obj:Ljava/lang/Object;
.line 7784
View
96 services.jar.out/smali/com/android/server/am/AppErrorDialog$1.smali
@@ -35,11 +35,59 @@
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
- .locals 3
+ .locals 5
.parameter "msg"
.prologue
.line 89
+ const/4 v0, 0x1
+
+ iget-object v1, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+
+ #getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
+ invoke-static {v1}, Lcom/android/server/am/AppErrorDialog;->access$000(Lcom/android/server/am/AppErrorDialog;)Lcom/android/server/am/ProcessRecord;
+
+ move-result-object v1
+
+ if-eqz v1, :cond_3
+
+ iget-object v1, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+
+ #getter for: Lcom/android/server/am/AppErrorDialog;->mCrashInfo:Landroid/app/ApplicationErrorReport$CrashInfo;
+ invoke-static {v1}, Lcom/android/server/am/AppErrorDialog;->access$200(Lcom/android/server/am/AppErrorDialog;)Landroid/app/ApplicationErrorReport$CrashInfo;
+
+ move-result-object v1
+
+ if-eqz v1, :cond_3
+
+ iget-object v1, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+
+ invoke-virtual {v1}, Lcom/android/server/am/AppErrorDialog;->getContext()Landroid/content/Context;
+
+ move-result-object v1
+
+ iget-object v2, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+
+ #getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
+ invoke-static {v2}, Lcom/android/server/am/AppErrorDialog;->access$000(Lcom/android/server/am/AppErrorDialog;)Lcom/android/server/am/ProcessRecord;
+
+ move-result-object v2
+
+ iget-object v3, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+
+ #getter for: Lcom/android/server/am/AppErrorDialog;->mCrashInfo:Landroid/app/ApplicationErrorReport$CrashInfo;
+ invoke-static {v3}, Lcom/android/server/am/AppErrorDialog;->access$200(Lcom/android/server/am/AppErrorDialog;)Landroid/app/ApplicationErrorReport$CrashInfo;
+
+ move-result-object v3
+
+ iget v4, p1, Landroid/os/Message;->what:I
+
+ if-ne v4, v0, :cond_2
+
+ :goto_0
+ invoke-static {v1, v2, v3, v0}, Lcom/android/server/am/MiuiErrorReport;->sendFcErrorReport(Landroid/content/Context;Lcom/android/server/am/ProcessRecord;Landroid/app/ApplicationErrorReport$CrashInfo;Z)V
+
+ :cond_3
iget-object v0, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
#getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
@@ -103,53 +151,17 @@
invoke-virtual {v0, v1}, Lcom/android/server/am/AppErrorResult;->set(I)V
- iget v0, p1, Landroid/os/Message;->what:I
-
- const/4 v1, 0x1
-
- if-ne v0, v1, :cond_1
-
- iget-object v0, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
-
- #getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
- invoke-static {v0}, Lcom/android/server/am/AppErrorDialog;->access$000(Lcom/android/server/am/AppErrorDialog;)Lcom/android/server/am/ProcessRecord;
-
- move-result-object v0
-
- if-eqz v0, :cond_1
-
- iget-object v0, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
-
- #getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
- invoke-static {v0}, Lcom/android/server/am/AppErrorDialog;->access$000(Lcom/android/server/am/AppErrorDialog;)Lcom/android/server/am/ProcessRecord;
-
- move-result-object v0
-
- iget-object v0, v0, Lcom/android/server/am/ProcessRecord;->crashingReport:Landroid/app/ActivityManager$ProcessErrorStateInfo;
-
- if-eqz v0, :cond_1
-
iget-object v0, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
- invoke-virtual {v0}, Lcom/android/server/am/AppErrorDialog;->getContext()Landroid/content/Context;
-
- move-result-object v0
-
- iget-object v1, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
-
- #getter for: Lcom/android/server/am/AppErrorDialog;->mProc:Lcom/android/server/am/ProcessRecord;
- invoke-static {v1}, Lcom/android/server/am/AppErrorDialog;->access$000(Lcom/android/server/am/AppErrorDialog;)Lcom/android/server/am/ProcessRecord;
-
- move-result-object v1
+ invoke-virtual {v0}, Lcom/android/server/am/AppErrorDialog;->dismiss()V
- invoke-static {v0, v1}, Lcom/android/server/am/MiuiBugReport;->sendMiuiErrorReport(Landroid/content/Context;Lcom/android/server/am/ProcessRecord;)V
+ return-void
- :cond_1
- iget-object v0, p0, Lcom/android/server/am/AppErrorDialog$1;->this$0:Lcom/android/server/am/AppErrorDialog;
+ :cond_2
- invoke-virtual {v0}, Lcom/android/server/am/AppErrorDialog;->dismiss()V
+ const/4 v0, 0x0
- return-void
+ goto :goto_0
:catchall_0
move-exception v0
View
19 services.jar.out/smali/com/android/server/am/AppErrorDialog.smali
@@ -20,13 +20,15 @@
.field private final mResult:Lcom/android/server/am/AppErrorResult;
+.field private final mCrashInfo:Landroid/app/ApplicationErrorReport$CrashInfo;
# direct methods
-.method public constructor <init>(Landroid/content/Context;Lcom/android/server/am/AppErrorResult;Lcom/android/server/am/ProcessRecord;)V
+.method public constructor <init>(Landroid/content/Context;Lcom/android/server/am/AppErrorResult;Lcom/android/server/am/ProcessRecord;Landroid/app/ApplicationErrorReport$CrashInfo;)V
.locals 7
.parameter "context"
.parameter "result"
.parameter "app"
+ .parameter "crashInfo"
.prologue
const/4 v6, 0x1
@@ -56,6 +58,7 @@
iput-object p2, p0, Lcom/android/server/am/AppErrorDialog;->mResult:Lcom/android/server/am/AppErrorResult;
.line 50
+ iput-object p4, p0, Lcom/android/server/am/AppErrorDialog;->mCrashInfo:Landroid/app/ApplicationErrorReport$CrashInfo;
iget-object v2, p3, Lcom/android/server/am/ProcessRecord;->pkgList:Ljava/util/HashSet;
invoke-virtual {v2}, Ljava/util/HashSet;->size()I
@@ -284,3 +287,17 @@
return-object v0
.end method
+
+.method static synthetic access$200(Lcom/android/server/am/AppErrorDialog;)Landroid/app/ApplicationErrorReport$CrashInfo;
+
+ .locals 1
+
+ .parameter "x0"
+
+ .prologue
+
+ iget-object v0, p0, Lcom/android/server/am/AppErrorDialog;->mCrashInfo:Landroid/app/ApplicationErrorReport$CrashInfo;
+
+ return-object v0
+
+.end method
View
18 services.jar.out/smali/com/android/server/am/AppNotRespondingDialog$1.smali
@@ -40,6 +40,24 @@
.prologue
.line 103
+ const/4 v5, 0x0
+
+ iget-object v3, p0, Lcom/android/server/am/AppNotRespondingDialog$1;->this$0:Lcom/android/server/am/AppNotRespondingDialog;
+
+ invoke-virtual {v3}, Lcom/android/server/am/AppNotRespondingDialog;->getContext()Landroid/content/Context;
+
+ move-result-object v3
+
+ iget-object v4, p0, Lcom/android/server/am/AppNotRespondingDialog$1;->this$0:Lcom/android/server/am/AppNotRespondingDialog;
+
+ #getter for: Lcom/android/server/am/AppNotRespondingDialog;->mProc:Lcom/android/server/am/ProcessRecord;
+
+ invoke-static {v4}, Lcom/android/server/am/AppNotRespondingDialog;->access$000(Lcom/android/server/am/AppNotRespondingDialog;)Lcom/android/server/am/ProcessRecord;
+
+ move-result-object v4
+
+ invoke-static {v3, v4, v5}, Lcom/android/server/am/MiuiErrorReport;->sendAnrErrorReport(Landroid/content/Context;Lcom/android/server/am/ProcessRecord;Z)V
+
const/4 v1, 0x0
.line 104
View
69 services.jar.out/smali/com/android/server/pm/PackageManagerService.smali
@@ -26925,7 +26925,7 @@
:goto_3
if-eqz v8, :cond_5
- invoke-virtual {v4, v8}, Landroid/content/pm/ParceledListSlice;->append(Landroid/os/Parcelable;)Z
+ invoke-direct {p0, v4, v8, p1}, Lcom/android/server/pm/PackageManagerService;->addPackageToSlice(Landroid/content/pm/ParceledListSlice;Landroid/content/pm/PackageInfo;I)Z
move-result v10
@@ -33858,3 +33858,70 @@
.line 4955
return-void
.end method
+
+.method private addPackageToSlice(Landroid/content/pm/ParceledListSlice;Landroid/content/pm/PackageInfo;I)Z
+ .locals 1
+ .parameter
+ .parameter "pi"
+ .parameter "flags"
+ .annotation build Landroid/annotation/MiuiHook;
+ value = .enum Landroid/annotation/MiuiHook$MiuiHookType;->NEW_METHOD:Landroid/annotation/MiuiHook$MiuiHookType;
+ .end annotation
+
+ .annotation system Ldalvik/annotation/Signature;
+ value = {
+ "(",
+ "Landroid/content/pm/ParceledListSlice",
+ "<",
+ "Landroid/content/pm/PackageInfo;",
+ ">;",
+ "Landroid/content/pm/PackageInfo;",
+ "I)Z"
+ }
+ .end annotation
+
+ .prologue
+ .local p1, list:Landroid/content/pm/ParceledListSlice;,"Landroid/content/pm/ParceledListSlice<Landroid/content/pm/PackageInfo;>;"
+ and-int/lit8 v0, p3, 0x1
+
+ if-eqz v0, :cond_1
+
+ const/high16 v0, 0x2
+
+ and-int/2addr v0, p3
+
+ if-eqz v0, :cond_1
+
+ iget-object v0, p2, Landroid/content/pm/PackageInfo;->activities:[Landroid/content/pm/ActivityInfo;
+
+ if-eqz v0, :cond_0
+
+ iget-object v0, p2, Landroid/content/pm/PackageInfo;->activities:[Landroid/content/pm/ActivityInfo;
+
+ array-length v0, v0
+
+ if-lez v0, :cond_0
+
+ const/4 v0, 0x0
+
+ iput-object v0, p2, Landroid/content/pm/PackageInfo;->activities:[Landroid/content/pm/ActivityInfo;
+
+ invoke-virtual {p1, p2}, Landroid/content/pm/ParceledListSlice;->append(Landroid/os/Parcelable;)Z
+
+ move-result v0
+
+ :goto_0
+ return v0
+
+ :cond_0
+ const/4 v0, 0x1
+
+ goto :goto_0
+
+ :cond_1
+ invoke-virtual {p1, p2}, Landroid/content/pm/ParceledListSlice;->append(Landroid/os/Parcelable;)Z
+
+ move-result v0
+
+ goto :goto_0
+.end method

0 comments on commit 9f0f561

Please sign in to comment.
Something went wrong with that request. Please try again.