| | | |
Offset 11, 101 lines modified | Offset 11, 127 lines modified |
11 | ····value·=·{ | 11 | ····value·=·{ |
12 | ········Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask; | 12 | ········Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask; |
13 | ····} | 13 | ····} |
14 | .end·annotation | 14 | .end·annotation |
| |
| |
15 | #·static·fields | 15 | #·static·fields |
| 16 | .field·private·static·final·LEAST_SHOW_PROGRESS_TIME_MS:Ljava/lang/Long; |
| |
16 | .field·private·static·final·MAX_APP_NAME_SIZE_PX:F·=·500.0f | 17 | .field·private·static·final·MAX_APP_NAME_SIZE_PX:F·=·500.0f |
| |
17 | .field·private·static·final·TAG:Ljava/lang/String;·=·"CacheClearingActivity" | 18 | .field·private·static·final·TAG:Ljava/lang/String;·=·"CacheClearingActivity" |
| |
18 | .field·private·static·final·TEXT_SIZE:F·=·42.0f | 19 | .field·private·static·final·TEXT_SIZE:F·=·42.0f |
| |
| |
19 | #·instance·fields | 20 | #·instance·fields |
20 | .field·private·mActionDialog:Landroid/app/AlertDialog; | 21 | .field·private·mActionDialog:Landroid/app/AlertDialog; |
| |
21 | .field·private·mLoadingDialog:Landroid/app/Dialog; | 22 | .field·private·mLoadingDialog:Landroid/app/Dialog; |
| |
| |
22 | #·direct·methods | 23 | #·direct·methods |
| 24 | .method·static·constructor·<clinit>()V |
| 25 | ····.locals·2 |
| |
| 26 | ····const-wide/16·v0,·0x12c |
| |
| 27 | ····.line·47 |
| 28 | ····invoke-static·{v0,·v1},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
| |
| 29 | ····move-result-object·v0 |
| |
| 30 | ····sput-object·v0,·Lcom/android/providers/media/CacheClearingActivity;->LEAST_SHOW_PROGRESS_TIME_MS:Ljava/lang/Long; |
| |
| 31 | ····return-void |
| 32 | .end·method |
| |
23 | .method·public·constructor·<init>()V | 33 | .method·public·constructor·<init>()V |
24 | ····.locals·0 | 34 | ····.locals·0 |
| |
25 | ····.line·42 | 35 | ····.line·43 |
26 | ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V | 36 | ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V |
| |
27 | ····return-void | 37 | ····return-void |
28 | .end·method | 38 | .end·method |
| |
29 | .method·static·synthetic·access$100(Lcom/android/providers/media/CacheClearingActivity;)Landroid/app/AlertDialog; | 39 | .method·static·synthetic·access$100(Lcom/android/providers/media/CacheClearingActivity;)Landroid/app/AlertDialog; |
30 | ····.locals·0 | 40 | ····.locals·0 |
| |
31 | ····.line·42 | 41 | ····.line·43 |
32 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 42 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
33 | ····return-object·p0 | 43 | ····return-object·p0 |
34 | .end·method | 44 | .end·method |
| |
35 | .method·static·synthetic·access$200([Landroid/app/Dialog;)V | 45 | .method·static·synthetic·access$200([Landroid/app/Dialog;)V |
36 | ····.locals·0 | 46 | ····.locals·0 |
| |
37 | ····.line·42 | 47 | ····.line·43 |
38 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V | 48 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V |
| |
39 | ····return-void | 49 | ····return-void |
40 | .end·method | 50 | .end·method |
| |
41 | .method·static·synthetic·access$300(Lcom/android/providers/media/CacheClearingActivity;)V | 51 | .method·static·synthetic·access$300(Lcom/android/providers/media/CacheClearingActivity;)V |
42 | ····.locals·0 | 52 | ····.locals·0 |
| |
43 | ····.line·42 | 53 | ····.line·43 |
44 | ····invoke-direct·{p0},·Lcom/android/providers/media/CacheClearingActivity;->createLoadingDialog()V | 54 | ····invoke-direct·{p0},·Lcom/android/providers/media/CacheClearingActivity;->createLoadingDialog()V |
| |
45 | ····return-void | 55 | ····return-void |
46 | .end·method | 56 | .end·method |
| |
47 | .method·static·synthetic·access$400(Lcom/android/providers/media/CacheClearingActivity;)Landroid/app/Dialog; | 57 | .method·static·synthetic·access$400(Lcom/android/providers/media/CacheClearingActivity;)Landroid/app/Dialog; |
48 | ····.locals·0 | 58 | ····.locals·0 |
| |
49 | ····.line·42 | 59 | ····.line·43 |
50 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; | 60 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; |
| |
51 | ····return-object·p0 | 61 | ····return-object·p0 |
52 | .end·method | 62 | .end·method |
| |
| 63 | .method·static·synthetic·access$500()Ljava/lang/Long; |
| 64 | ····.locals·1 |
| |
| 65 | ····.line·43 |
| 66 | ····sget-object·v0,·Lcom/android/providers/media/CacheClearingActivity;->LEAST_SHOW_PROGRESS_TIME_MS:Ljava/lang/Long; |
| |
| 67 | ····return-object·v0 |
| 68 | .end·method |
| |
53 | .method·private·createActionDialog(Ljava/lang/CharSequence;)V | 69 | .method·private·createActionDialog(Ljava/lang/CharSequence;)V |
54 | ····.locals·5 | 70 | ····.locals·5 |
| |
55 | ····.line·146 | 71 | ····.line·170 |
56 | ····new-instance·v0,·Landroid/text/TextPaint; | 72 | ····new-instance·v0,·Landroid/text/TextPaint; |
| |
57 | ····invoke-direct·{v0},·Landroid/text/TextPaint;-><init>()V | 73 | ····invoke-direct·{v0},·Landroid/text/TextPaint;-><init>()V |
| |
58 | ····const/high16·v1,·0x42280000····#·42.0f | 74 | ····const/high16·v1,·0x42280000····#·42.0f |
| |
59 | ····.line·147 | 75 | ····.line·171 |
60 | ····invoke-virtual·{v0,·v1},·Landroid/text/TextPaint;->setTextSize(F)V | 76 | ····invoke-virtual·{v0,·v1},·Landroid/text/TextPaint;->setTextSize(F)V |
| |
61 | ····.line·149 | 77 | ····.line·173 |
62 | ····sget-object·v1,·Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt; | 78 | ····sget-object·v1,·Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt; |
| |
63 | ····const/high16·v2,·0x43fa0000····#·500.0f | 79 | ····const/high16·v2,·0x43fa0000····#·500.0f |
| |
64 | ····invoke-static·{p1,·v0,·v2,·v1},·Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence; | 80 | ····invoke-static·{p1,·v0,·v2,·v1},·Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;)Ljava/lang/CharSequence; |
| |
65 | ····move-result-object·p1 | 81 | ····move-result-object·p1 |
| |
66 | ····.line·150 | 82 | ····.line·174 |
67 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 83 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
68 | ····move-result-object·p1 | 84 | ····move-result-object·p1 |
| |
69 | ····.line·151 | 85 | ····.line·175 |
70 | ····invoke-static·{},·Landroid/text/BidiFormatter;->getInstance()Landroid/text/BidiFormatter; | 86 | ····invoke-static·{},·Landroid/text/BidiFormatter;->getInstance()Landroid/text/BidiFormatter; |
| |
71 | ····move-result-object·v0 | 87 | ····move-result-object·v0 |
| |
72 | ····invoke-virtual·{v0,·p1},·Landroid/text/BidiFormatter;->unicodeWrap(Ljava/lang/String;)Ljava/lang/String; | 88 | ····invoke-virtual·{v0,·p1},·Landroid/text/BidiFormatter;->unicodeWrap(Ljava/lang/String;)Ljava/lang/String; |
| |
73 | ····move-result-object·p1 | 89 | ····move-result-object·p1 |
Offset 114, 348 lines modified | Offset 140, 355 lines modified |
| |
114 | ····new-array·v1,·v0,·[Ljava/lang/Object; | 140 | ····new-array·v1,·v0,·[Ljava/lang/Object; |
| |
115 | ····const/4·v2,·0x0 | 141 | ····const/4·v2,·0x0 |
| |
116 | ····aput-object·p1,·v1,·v2 | 142 | ····aput-object·p1,·v1,·v2 |
| |
117 | ····const·v3,·0x7f0d001e | 143 | ····const·p1,·0x7f0d001e |
| |
118 | ····.line·153 | |
119 | ····invoke-virtual·{p0,·v3,·v1},·Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | |
| |
120 | ····move-result-object·v1 | |
| |
121 | ····.line·154 | |
122 | ····new-instance·v3,·Landroid/text/SpannableString; | |
| |
123 | ····invoke-direct·{v3,·v1},·Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V | 144 | ····.line·176 |
| 145 | ····invoke-virtual·{p0,·p1,·v1},·Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
124 | ····.line·156 | |
125 | ····invoke-virtual·{v1,·p1},·Ljava/lang/String;->indexOf(Ljava/lang/String;)I | |
| |
126 | ····move-result·v1 | |
| |
127 | ····if-ltz·v1,·:cond_0 | |
| |
128 | ····.line·158 | |
129 | ····new-instance·v4,·Landroid/text/style/StyleSpan; | |
| |
130 | ····invoke-direct·{v4,·v0},·Landroid/text/style/StyleSpan;-><init>(I)V | |
| |
131 | ····.line·159 | |
132 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | |
| |
133 | ····move-result·p1 | |
| |
134 | ····add-int/2addr·p1,·v1 | |
| |
135 | ····.line·158 | 146 | ····move-result-object·p1 |
136 | ····invoke-virtual·{v3,·v4,·v1,·p1,·v2},·Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V | |
| |
137 | ····:cond_0 | 147 | ····const·v1,·0x7f0d001f |
138 | ····const·p1,·0x7f0d001f | |
| |
139 | ····.line·162 | 148 | ····.line·177 |
140 | ····invoke-virtual·{p0,·p1},·Landroid/app/Activity;->getString(I)Ljava/lang/String; | 149 | ····invoke-virtual·{p0,·v1},·Landroid/app/Activity;->getString(I)Ljava/lang/String; |
| |
141 | ····move-result-object·p1 | 150 | ····move-result-object·v1 |
| |
142 | ····const·v1,·0x7f0a001c | 151 | ····const·v3,·0x7f0a001c |
| |
143 | ····const/4·v4,·0x0 | 152 | ····const/4·v4,·0x0 |
| |
144 | ····.line·164 | 153 | ····.line·179 |
145 | ····invoke-static·{p0,·v1,·v4},·Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View; | 154 | ····invoke-static·{p0,·v3,·v4},·Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View; |
| |
146 | ····move-result-object·v1 | 155 | ····move-result-object·v3 |
| |
147 | ····const·v4,·0x7f07004e | 156 | ····const·v4,·0x7f07004f |
| |
148 | ····.line·165 | 157 | ····.line·180 |
149 | ····invoke-virtual·{v1,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 158 | ····invoke-virtual·{v3,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
150 | ····move-result-object·v4 | 159 | ····move-result-object·v4 |
| |
151 | ····check-cast·v4,·Landroid/widget/TextView; | 160 | ····check-cast·v4,·Landroid/widget/TextView; |
| |
152 | ····.line·166 | 161 | ····.line·181 |
153 | ····invoke-virtual·{v4,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 162 | ····invoke-virtual·{v4,·v1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
| |
154 | ····.line·167 | 163 | ····.line·182 |
155 | ····new-instance·p1,·Landroid/app/AlertDialog$Builder; | 164 | ····new-instance·v1,·Landroid/app/AlertDialog$Builder; |
| |
156 | ····invoke-direct·{p1,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V | 165 | ····invoke-direct·{v1,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V |
| |
157 | ····.line·168 | 166 | ····.line·183 |
158 | ····invoke-virtual·{p1,·v1},·Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder; | 167 | ····invoke-virtual·{v1,·v3},·Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder; |
| |
159 | ····move-result-object·p1 | 168 | ····move-result-object·v1 |
| |
160 | ····.line·169 | 169 | ····.line·184 |
161 | ····invoke-virtual·{p1,·v3},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; | 170 | ····invoke-virtual·{v1,·p1},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
| |
162 | ····move-result-object·p1 | 171 | ····move-result-object·p1 |
| |
163 | ····const·v1,·0x7f0d001b | 172 | ····const·v1,·0x7f0d0021 |
| |
164 | ····.line·170 | 173 | ····.line·185 |
165 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 174 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
| |
166 | ····move-result-object·p1 | 175 | ····move-result-object·p1 |
| |
167 | ····const·v1,·0x7f0d0021 | 176 | ····const/high16·v1,·0x1040000 |
| |
168 | ····.line·171 | 177 | ····.line·186 |
169 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 178 | ····invoke-virtual·{p1,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
| |
170 | ····move-result-object·p1 | 179 | ····move-result-object·p1 |
| |
171 | ····.line·172 | 180 | ····.line·187 |
172 | ····invoke-virtual·{p1,·v2},·Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; | 181 | ····invoke-virtual·{p1,·v2},·Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; |
| |
173 | ····move-result-object·p1 | 182 | ····move-result-object·p1 |
| |
174 | ····.line·173 | 183 | ····.line·188 |
175 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; | 184 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; |
| |
176 | ····move-result-object·p1 | 185 | ····move-result-object·p1 |
| |
177 | ····iput-object·p1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 186 | ····iput-object·p1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
178 | ····.line·175 | 187 | ····.line·190 |
179 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->create()V | 188 | ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->create()V |
| |
180 | ····.line·176 | 189 | ····.line·191 |
181 | ····iget-object·p1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 190 | ····iget-object·p1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
182 | ····const/4·v1,·-0x1 | 191 | ····const/4·v1,·-0x1 |
| |
183 | ····invoke-virtual·{p1,·v1},·Landroid/app/AlertDialog;->getButton(I)Landroid/widget/Button; | 192 | ····invoke-virtual·{p1,·v1},·Landroid/app/AlertDialog;->getButton(I)Landroid/widget/Button; |
| |
184 | ····move-result-object·p1 | 193 | ····move-result-object·p1 |
| |
185 | ····invoke-virtual·{p1,·v0},·Landroid/widget/Button;->setFilterTouchesWhenObscured(Z)V | 194 | ····invoke-virtual·{p1,·v0},·Landroid/widget/Button;->setFilterTouchesWhenObscured(Z)V |
| |
186 | ····.line·178 | 195 | ····.line·193 |
187 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 196 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
188 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V | 197 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V |
| |
189 | ····return-void | 198 | ····return-void |
190 | .end·method | 199 | .end·method |
| |
191 | .method·private·createLoadingDialog()V | 200 | .method·private·createLoadingDialog()V |
192 | ····.locals·3 | 201 | ····.locals·7 |
| |
193 | ····const·v0,·0x7f0d0020 | 202 | ····const·v0,·0x7f0d0020 |
| |
194 | ····.line·132 | 203 | ····.line·149 |
195 | ····invoke-virtual·{p0,·v0},·Landroid/app/Activity;->getString(I)Ljava/lang/String; | 204 | ····invoke-virtual·{p0,·v0},·Landroid/app/Activity;->getString(I)Ljava/lang/String; |
| |
196 | ····move-result-object·v0 | 205 | ····move-result-object·v0 |
| |
197 | ····const·v1,·0x7f0a001c | 206 | ····const·v1,·0x7f0a001c |
| |
198 | ····const/4·v2,·0x0 | 207 | ····const/4·v2,·0x0 |
| |
199 | ····.line·133 | 208 | ····.line·150 |
200 | ····invoke-static·{p0,·v1,·v2},·Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View; | 209 | ····invoke-static·{p0,·v1,·v2},·Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View; |
| |
201 | ····move-result-object·v1 | 210 | ····move-result-object·v1 |
| |
202 | ····const·v2,·0x7f07004e | 211 | ····const·v2,·0x7f07004f |
| |
203 | ····.line·134 | 212 | ····.line·151 |
204 | ····invoke-virtual·{v1,·v2},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 213 | ····invoke-virtual·{v1,·v2},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
205 | ····move-result-object·v2 | 214 | ····move-result-object·v2 |
| |
206 | ····check-cast·v2,·Landroid/widget/TextView; | 215 | ····check-cast·v2,·Landroid/widget/TextView; |
| |
207 | ····.line·135 | 216 | ····.line·152 |
| 217 | ····new-instance·v3,·Landroid/widget/ProgressBar; |
| |
| 218 | ····invoke-direct·{v3,·p0},·Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V |
| |
| 219 | ····.line·153 |
| 220 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getResources()Landroid/content/res/Resources; |
| |
| 221 | ····move-result-object·v4 |
| |
| 222 | ····const·v5,·0x7f050056 |
| |
| 223 | ····invoke-virtual·{v4,·v5},·Landroid/content/res/Resources;->getDimensionPixelOffset(I)I |
| |
| 224 | ····move-result·v4 |
| |
| 225 | ····const/4·v5,·0x1 |
| |
| 226 | ····.line·155 |
| 227 | ····invoke-virtual·{v3,·v5},·Landroid/widget/ProgressBar;->setIndeterminate(Z)V |
| |
| 228 | ····.line·156 |
| 229 | ····div-int/lit8·v5,·v4,·0x2 |
| |
| 230 | ····const/4·v6,·0x0 |
| |
| 231 | ····invoke-virtual·{v3,·v6,·v5,·v6,·v4},·Landroid/widget/ProgressBar;->setPadding(IIII)V |
| |
| 232 | ····.line·157 |
208 | ····invoke-virtual·{v2,·v0},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 233 | ····invoke-virtual·{v2,·v0},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
| |
209 | ····.line·136 | 234 | ····.line·158 |
210 | ····new-instance·v0,·Landroid/app/AlertDialog$Builder; | 235 | ····new-instance·v0,·Landroid/app/AlertDialog$Builder; |
| |
211 | ····invoke-direct·{v0,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V | 236 | ····invoke-direct·{v0,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V |
| |
212 | ····.line·137 | 237 | ····.line·159 |
213 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder; | 238 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder; |
| |
214 | ····move-result-object·v0 | 239 | ····move-result-object·v0 |
| |
215 | ····new-instance·v1,·Landroid/widget/ProgressBar; | 240 | ····.line·160 |
| 241 | ····invoke-virtual·{v0,·v3},·Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder; |
216 | ····invoke-direct·{v1,·p0},·Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V | |
| |
217 | ····.line·138 | |
218 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder; | |
| |
219 | ····move-result-object·v0 | 242 | ····move-result-object·v0 |
| |
220 | ····const/4·v1,·0x0 | 243 | ····.line·161 |
| 244 | ····invoke-virtual·{v0,·v6},·Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; |
221 | ····.line·139 | |
222 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; | |
| |
223 | ····move-result-object·v0 | 245 | ····move-result-object·v0 |
| |
224 | ····.line·140 | 246 | ····.line·162 |
225 | ····invoke-virtual·{v0},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; | 247 | ····invoke-virtual·{v0},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; |
| |
226 | ····move-result-object·v0 | 248 | ····move-result-object·v0 |
| |
227 | ····iput-object·v0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; | 249 | ····iput-object·v0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; |
| |
228 | ····.line·141 | 250 | ····const·v0,·0x7f07004e |
| |
| 251 | ····.line·164 |
| 252 | ····invoke-virtual·{v1,·v0},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
| |
| 253 | ····move-result-object·v0 |
| |
| 254 | ····const/16·v1,·0x8 |
| |
| 255 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->setVisibility(I)V |
| |
| 256 | ····.line·165 |
| 257 | ····iget-object·v0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; |
| |
229 | ····invoke-virtual·{v0},·Landroid/app/Dialog;->create()V | 258 | ····invoke-virtual·{v0},·Landroid/app/Dialog;->create()V |
| |
230 | ····.line·142 | 259 | ····.line·166 |
231 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 260 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
232 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V | 261 | ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V |
| |
233 | ····return-void | 262 | ····return-void |
234 | .end·method | 263 | .end·method |
| |
235 | .method·private·static·varargs·dismissDialogs([Landroid/app/Dialog;)V | 264 | .method·private·static·varargs·dismissDialogs([Landroid/app/Dialog;)V |
236 | ····.locals·3 | 265 | ····.locals·3 |
| |
237 | ····.line·187 | 266 | ····.line·202 |
238 | ····array-length·v0,·p0 | 267 | ····array-length·v0,·p0 |
| |
239 | ····const/4·v1,·0x0 | 268 | ····const/4·v1,·0x0 |
| |
240 | ····:goto_0 | 269 | ····:goto_0 |
241 | ····if-ge·v1,·v0,·:cond_1 | 270 | ····if-ge·v1,·v0,·:cond_1 |
| |
242 | ····aget-object·v2,·p0,·v1 | 271 | ····aget-object·v2,·p0,·v1 |
| |
243 | ····if-eqz·v2,·:cond_0 | 272 | ····if-eqz·v2,·:cond_0 |
| |
244 | ····.line·189 | 273 | ····.line·204 |
245 | ····invoke-virtual·{v2},·Landroid/app/Dialog;->dismiss()V | 274 | ····invoke-virtual·{v2},·Landroid/app/Dialog;->dismiss()V |
| |
246 | ····:cond_0 | 275 | ····:cond_0 |
247 | ····add-int/lit8·v1,·v1,·0x1 | 276 | ····add-int/lit8·v1,·v1,·0x1 |
| |
248 | ····goto·:goto_0 | 277 | ····goto·:goto_0 |
| |
249 | ····:cond_1 | 278 | ····:cond_1 |
250 | ····return-void | 279 | ····return-void |
251 | .end·method | 280 | .end·method |
| |
252 | .method·private·static·setDialogOverlaySettings(Landroid/app/Dialog;)V | 281 | .method·private·static·setDialogOverlaySettings(Landroid/app/Dialog;)V |
253 | ····.locals·1 | 282 | ····.locals·1 |
| |
254 | ····.line·182 | 283 | ····.line·197 |
255 | ····invoke-virtual·{p0},·Landroid/app/Dialog;->getWindow()Landroid/view/Window; | 284 | ····invoke-virtual·{p0},·Landroid/app/Dialog;->getWindow()Landroid/view/Window; |
| |
256 | ····move-result-object·p0 | 285 | ····move-result-object·p0 |
| |
257 | ····const/high16·v0,·0x80000 | 286 | ····const/high16·v0,·0x80000 |
| |
258 | ····.line·183 | 287 | ····.line·198 |
259 | ····invoke-virtual·{p0,·v0},·Landroid/view/Window;->addSystemFlags(I)V | 288 | ····invoke-virtual·{p0,·v0},·Landroid/view/Window;->addSystemFlags(I)V |
| |
260 | ····return-void | 289 | ····return-void |
261 | .end·method | 290 | .end·method |
| |
| |
262 | #·virtual·methods | 291 | #·virtual·methods |
263 | .method·public·onClick(Landroid/content/DialogInterface;I)V | 292 | .method·public·onClick(Landroid/content/DialogInterface;I)V |
264 | ····.locals·2 | 293 | ····.locals·2 |
| |
265 | ····const/4·p1,·0x1 | 294 | ····const/4·p1,·0x1 |
| |
266 | ····new-array·p1,·p1,·[Landroid/app/Dialog; | 295 | ····new-array·p1,·p1,·[Landroid/app/Dialog; |
| |
267 | ····.line·95 | 296 | ····.line·97 |
268 | ····iget-object·v0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 297 | ····iget-object·v0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
269 | ····const/4·v1,·0x0 | 298 | ····const/4·v1,·0x0 |
| |
270 | ····aput-object·v0,·p1,·v1 | 299 | ····aput-object·v0,·p1,·v1 |
| |
271 | ····invoke-static·{p1},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V | 300 | ····invoke-static·{p1},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V |
| |
272 | ····const/4·p1,·-0x1 | 301 | ····const/4·p1,·-0x1 |
| |
273 | ····if-ne·p2,·p1,·:cond_0 | 302 | ····if-ne·p2,·p1,·:cond_0 |
| |
274 | ····.line·98 | 303 | ····.line·100 |
275 | ····new-instance·p1,·Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask; | 304 | ····new-instance·p1,·Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask; |
| |
276 | ····const/4·p2,·0x0 | 305 | ····const/4·p2,·0x0 |
| |
277 | ····invoke-direct·{p1,·p0,·p2},·Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask;-><init>(Lcom/android/providers/media/CacheClearingActivity;Lcom/android/providers/media/CacheClearingActivity$1;)V | 306 | ····invoke-direct·{p1,·p0,·p2},·Lcom/android/providers/media/CacheClearingActivity$CacheClearingTask;-><init>(Lcom/android/providers/media/CacheClearingActivity;Lcom/android/providers/media/CacheClearingActivity$1;)V |
| |
278 | ····new-array·p0,·v1,·[Ljava/lang/Void; | 307 | ····new-array·p0,·v1,·[Ljava/lang/Void; |
| |
279 | ····invoke-virtual·{p1,·p0},·Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 308 | ····invoke-virtual·{p1,·p0},·Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
| |
280 | ····goto·:goto_0 | 309 | ····goto·:goto_0 |
| |
281 | ····.line·100 | 310 | ····.line·102 |
282 | ····:cond_0 | 311 | ····:cond_0 |
283 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V | 312 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V |
| |
284 | ····:goto_0 | 313 | ····:goto_0 |
285 | ····return-void | 314 | ····return-void |
286 | .end·method | 315 | .end·method |
| |
287 | .method·public·onCreate(Landroid/os/Bundle;)V | 316 | .method·public·onCreate(Landroid/os/Bundle;)V |
288 | ····.locals·4 | 317 | ····.locals·4 |
| |
289 | ····const-string·v0,·"CacheClearingActivity" | 318 | ····const-string·v0,·"CacheClearingActivity" |
| |
290 | ····.line·52 | 319 | ····.line·54 |
291 | ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V | 320 | ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V |
| |
292 | ····.line·53 | 321 | ····.line·55 |
293 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getCallingPackage()Ljava/lang/String; | 322 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getCallingPackage()Ljava/lang/String; |
| |
294 | ····move-result-object·p1 | 323 | ····move-result-object·p1 |
| |
295 | ····const/4·v1,·0x0 | 324 | ····const/4·v1,·0x0 |
| |
296 | ····.line·54 | 325 | ····.line·56 |
297 | ····invoke-virtual·{p0,·v1},·Landroid/app/Activity;->setResult(I)V | 326 | ····invoke-virtual·{p0,·v1},·Landroid/app/Activity;->setResult(I)V |
| |
298 | ····if-nez·p1,·:cond_0 | 327 | ····if-nez·p1,·:cond_0 |
| |
299 | ····.line·57 | 328 | ····.line·59 |
300 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V | 329 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V |
| |
301 | ····return-void | 330 | ····return-void |
| |
302 | ····.line·61 | 331 | ····.line·63 |
303 | ····:cond_0 | 332 | ····:cond_0 |
304 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager; | 333 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
305 | ····move-result-object·v2 | 334 | ····move-result-object·v2 |
| |
306 | ····.line·64 | 335 | ····.line·66 |
307 | ····:try_start_0 | 336 | ····:try_start_0 |
308 | ····invoke-virtual·{v2,·p1,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo; | 337 | ····invoke-virtual·{v2,·p1,·v1},·Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo; |
| |
309 | ····move-result-object·v1 | 338 | ····move-result-object·v1 |
310 | ····:try_end_0 | 339 | ····:try_end_0 |
311 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 340 | ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
312 | ····.line·71 | 341 | ····.line·73 |
313 | ····invoke-static·{p0,·v1},·Lcom/android/providers/media/MediaProvider;->hasPermissionToClearCaches(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z | 342 | ····invoke-static·{p0,·v1},·Lcom/android/providers/media/MediaProvider;->hasPermissionToClearCaches(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z |
| |
314 | ····move-result·v3 | 343 | ····move-result·v3 |
| |
315 | ····if-nez·v3,·:cond_1 | 344 | ····if-nez·v3,·:cond_1 |
| |
316 | ····.line·72 | 345 | ····.line·74 |
317 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 346 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
318 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 347 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
319 | ····const-string·v2,·"Calling·package·" | 348 | ····const-string·v2,·"Calling·package·" |
| |
320 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 349 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 468, 69 lines modified | Offset 501, 69 lines modified |
| |
468 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 501 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
469 | ····move-result-object·p1 | 502 | ····move-result-object·p1 |
| |
470 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I | 503 | ····invoke-static·{v0,·p1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I |
| |
471 | ····.line·73 | 504 | ····.line·75 |
472 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V | 505 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V |
| |
473 | ····return-void | 506 | ····return-void |
| |
474 | ····:cond_1 | 507 | ····:cond_1 |
475 | ····const/high16·p1,·0x43fa0000····#·500.0f | 508 | ····const/high16·p1,·0x43fa0000····#·500.0f |
| |
476 | ····const/4·v0,·0x2 | 509 | ····const/4·v0,·0x2 |
| |
477 | ····.line·80 | 510 | ····.line·82 |
478 | ····invoke-virtual·{v1,·v2,·p1,·v0},·Landroid/content/pm/ApplicationInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; | 511 | ····invoke-virtual·{v1,·v2,·p1,·v0},·Landroid/content/pm/ApplicationInfo;->loadSafeLabel(Landroid/content/pm/PackageManager;FI)Ljava/lang/CharSequence; |
| |
479 | ····move-result-object·p1 | 512 | ····move-result-object·p1 |
| |
480 | ····.line·81 | 513 | ····.line·83 |
481 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 514 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
| |
482 | ····move-result-object·p1 | 515 | ····move-result-object·p1 |
| |
483 | ····.line·83 | 516 | ····.line·85 |
484 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/CacheClearingActivity;->createActionDialog(Ljava/lang/CharSequence;)V | 517 | ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/CacheClearingActivity;->createActionDialog(Ljava/lang/CharSequence;)V |
| |
485 | ····.line·84 | 518 | ····.line·86 |
486 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 519 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
487 | ····invoke-virtual·{p0},·Landroid/app/AlertDialog;->show()V | 520 | ····invoke-virtual·{p0},·Landroid/app/AlertDialog;->show()V |
| |
488 | ····return-void | 521 | ····return-void |
| |
489 | ····:catch_0 | 522 | ····:catch_0 |
490 | ····move-exception·p1 | 523 | ····move-exception·p1 |
| |
491 | ····const-string·v1,·"unable·to·look·up·package·name" | 524 | ····const-string·v1,·"unable·to·look·up·package·name" |
| |
492 | ····.line·66 | 525 | ····.line·68 |
493 | ····invoke-static·{v0,·v1,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 526 | ····invoke-static·{v0,·v1,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| |
494 | ····.line·67 | 527 | ····.line·69 |
495 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V | 528 | ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V |
| |
496 | ····return-void | 529 | ····return-void |
497 | .end·method | 530 | .end·method |
| |
498 | .method·protected·onDestroy()V | 531 | .method·protected·onDestroy()V |
499 | ····.locals·3 | 532 | ····.locals·3 |
| |
500 | ····.line·89 | 533 | ····.line·91 |
501 | ····invoke-super·{p0},·Landroid/app/Activity;->onDestroy()V | 534 | ····invoke-super·{p0},·Landroid/app/Activity;->onDestroy()V |
| |
502 | ····const/4·v0,·0x2 | 535 | ····const/4·v0,·0x2 |
| |
503 | ····new-array·v0,·v0,·[Landroid/app/Dialog; | 536 | ····new-array·v0,·v0,·[Landroid/app/Dialog; |
| |
504 | ····.line·90 | 537 | ····.line·92 |
505 | ····iget-object·v1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; | 538 | ····iget-object·v1,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mActionDialog:Landroid/app/AlertDialog; |
| |
506 | ····const/4·v2,·0x0 | 539 | ····const/4·v2,·0x0 |
| |
507 | ····aput-object·v1,·v0,·v2 | 540 | ····aput-object·v1,·v0,·v2 |
| |
508 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; | 541 | ····iget-object·p0,·p0,·Lcom/android/providers/media/CacheClearingActivity;->mLoadingDialog:Landroid/app/Dialog; |