Offset 11, 101 lines modifiedOffset 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·annotation14 .end·annotation
  
  
15 #·static·fields15 #·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.0f17 .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.0f19 .field·private·static·final·TEXT_SIZE:F·=·42.0f
  
  
19 #·instance·fields20 #·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·methods23 #·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>()V33 .method·public·constructor·<init>()V
24 ····.locals·034 ····.locals·0
  
25 ····.line·4235 ····.line·43
26 ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V36 ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V
  
27 ····return-void37 ····return-void
28 .end·method38 .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·040 ····.locals·0
  
31 ····.line·4241 ····.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·p043 ····return-object·p0
34 .end·method44 .end·method
  
35 .method·static·synthetic·access$200([Landroid/app/Dialog;)V45 .method·static·synthetic·access$200([Landroid/app/Dialog;)V
36 ····.locals·046 ····.locals·0
  
37 ····.line·4247 ····.line·43
38 ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V48 ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V
  
39 ····return-void49 ····return-void
40 .end·method50 .end·method
  
41 .method·static·synthetic·access$300(Lcom/android/providers/media/CacheClearingActivity;)V51 .method·static·synthetic·access$300(Lcom/android/providers/media/CacheClearingActivity;)V
42 ····.locals·052 ····.locals·0
  
43 ····.line·4253 ····.line·43
44 ····invoke-direct·{p0},·Lcom/android/providers/media/CacheClearingActivity;->createLoadingDialog()V54 ····invoke-direct·{p0},·Lcom/android/providers/media/CacheClearingActivity;->createLoadingDialog()V
  
45 ····return-void55 ····return-void
46 .end·method56 .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·058 ····.locals·0
  
49 ····.line·4259 ····.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·p061 ····return-object·p0
52 .end·method62 .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;)V69 .method·private·createActionDialog(Ljava/lang/CharSequence;)V
54 ····.locals·570 ····.locals·5
  
55 ····.line·14671 ····.line·170
56 ····new-instance·v0,·Landroid/text/TextPaint;72 ····new-instance·v0,·Landroid/text/TextPaint;
  
57 ····invoke-direct·{v0},·Landroid/text/TextPaint;-><init>()V73 ····invoke-direct·{v0},·Landroid/text/TextPaint;-><init>()V
  
58 ····const/high16·v1,·0x42280000····#·42.0f74 ····const/high16·v1,·0x42280000····#·42.0f
  
59 ····.line·14775 ····.line·171
60 ····invoke-virtual·{v0,·v1},·Landroid/text/TextPaint;->setTextSize(F)V76 ····invoke-virtual·{v0,·v1},·Landroid/text/TextPaint;->setTextSize(F)V
  
61 ····.line·14977 ····.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.0f79 ····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·p181 ····move-result-object·p1
  
66 ····.line·15082 ····.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·p184 ····move-result-object·p1
  
69 ····.line·15185 ····.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·v087 ····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·p189 ····move-result-object·p1
Offset 114, 348 lines modifiedOffset 140, 355 lines modified
  
114 ····new-array·v1,·v0,·[Ljava/lang/Object;140 ····new-array·v1,·v0,·[Ljava/lang/Object;
  
115 ····const/4·v2,·0x0141 ····const/4·v2,·0x0
  
116 ····aput-object·p1,·v1,·v2142 ····aput-object·p1,·v1,·v2
  
117 ····const·v3,·0x7f0d001e143 ····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;)V144 ····.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·158146 ····move-result-object·p1
136 ····invoke-virtual·{v3,·v4,·v1,·p1,·v2},·Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V 
  
137 ····:cond_0147 ····const·v1,·0x7f0d001f
138 ····const·p1,·0x7f0d001f 
  
139 ····.line·162148 ····.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·p1150 ····move-result-object·v1
  
142 ····const·v1,·0x7f0a001c151 ····const·v3,·0x7f0a001c
  
143 ····const/4·v4,·0x0152 ····const/4·v4,·0x0
  
144 ····.line·164153 ····.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·v1155 ····move-result-object·v3
  
147 ····const·v4,·0x7f07004e156 ····const·v4,·0x7f07004f
  
148 ····.line·165157 ····.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·v4159 ····move-result-object·v4
  
151 ····check-cast·v4,·Landroid/widget/TextView;160 ····check-cast·v4,·Landroid/widget/TextView;
  
152 ····.line·166161 ····.line·181
153 ····invoke-virtual·{v4,·p1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V162 ····invoke-virtual·{v4,·v1},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
  
154 ····.line·167163 ····.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;)V165 ····invoke-direct·{v1,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
  
157 ····.line·168166 ····.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·p1168 ····move-result-object·v1
  
160 ····.line·169169 ····.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·p1171 ····move-result-object·p1
  
163 ····const·v1,·0x7f0d001b172 ····const·v1,·0x7f0d0021
  
164 ····.line·170173 ····.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·p1175 ····move-result-object·p1
  
167 ····const·v1,·0x7f0d0021176 ····const/high16·v1,·0x1040000
  
168 ····.line·171177 ····.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·p1179 ····move-result-object·p1
  
171 ····.line·172180 ····.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·p1182 ····move-result-object·p1
  
174 ····.line·173183 ····.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·p1185 ····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·175187 ····.line·190
179 ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->create()V188 ····invoke-virtual·{p1},·Landroid/app/AlertDialog;->create()V
  
180 ····.line·176189 ····.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,·-0x1191 ····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·p1193 ····move-result-object·p1
  
185 ····invoke-virtual·{p1,·v0},·Landroid/widget/Button;->setFilterTouchesWhenObscured(Z)V194 ····invoke-virtual·{p1,·v0},·Landroid/widget/Button;->setFilterTouchesWhenObscured(Z)V
  
186 ····.line·178195 ····.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;)V197 ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V
  
189 ····return-void198 ····return-void
190 .end·method199 .end·method
  
191 .method·private·createLoadingDialog()V200 .method·private·createLoadingDialog()V
192 ····.locals·3201 ····.locals·7
  
193 ····const·v0,·0x7f0d0020202 ····const·v0,·0x7f0d0020
  
194 ····.line·132203 ····.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·v0205 ····move-result-object·v0
  
197 ····const·v1,·0x7f0a001c206 ····const·v1,·0x7f0a001c
  
198 ····const/4·v2,·0x0207 ····const/4·v2,·0x0
  
199 ····.line·133208 ····.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·v1210 ····move-result-object·v1
  
202 ····const·v2,·0x7f07004e211 ····const·v2,·0x7f07004f
  
203 ····.line·134212 ····.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·v2214 ····move-result-object·v2
  
206 ····check-cast·v2,·Landroid/widget/TextView;215 ····check-cast·v2,·Landroid/widget/TextView;
  
207 ····.line·135216 ····.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;)V233 ····invoke-virtual·{v2,·v0},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
  
209 ····.line·136234 ····.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;)V236 ····invoke-direct·{v0,·p0},·Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
  
212 ····.line·137237 ····.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·v0239 ····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·v0242 ····move-result-object·v0
  
220 ····const/4·v1,·0x0243 ····.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·v0245 ····move-result-object·v0
  
224 ····.line·140246 ····.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·v0248 ····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·141250 ····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()V258 ····invoke-virtual·{v0},·Landroid/app/Dialog;->create()V
  
230 ····.line·142259 ····.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;)V261 ····invoke-static·{p0},·Lcom/android/providers/media/CacheClearingActivity;->setDialogOverlaySettings(Landroid/app/Dialog;)V
  
233 ····return-void262 ····return-void
234 .end·method263 .end·method
  
235 .method·private·static·varargs·dismissDialogs([Landroid/app/Dialog;)V264 .method·private·static·varargs·dismissDialogs([Landroid/app/Dialog;)V
236 ····.locals·3265 ····.locals·3
  
237 ····.line·187266 ····.line·202
238 ····array-length·v0,·p0267 ····array-length·v0,·p0
  
239 ····const/4·v1,·0x0268 ····const/4·v1,·0x0
  
240 ····:goto_0269 ····:goto_0
241 ····if-ge·v1,·v0,·:cond_1270 ····if-ge·v1,·v0,·:cond_1
  
242 ····aget-object·v2,·p0,·v1271 ····aget-object·v2,·p0,·v1
  
243 ····if-eqz·v2,·:cond_0272 ····if-eqz·v2,·:cond_0
  
244 ····.line·189273 ····.line·204
245 ····invoke-virtual·{v2},·Landroid/app/Dialog;->dismiss()V274 ····invoke-virtual·{v2},·Landroid/app/Dialog;->dismiss()V
  
246 ····:cond_0275 ····:cond_0
247 ····add-int/lit8·v1,·v1,·0x1276 ····add-int/lit8·v1,·v1,·0x1
  
248 ····goto·:goto_0277 ····goto·:goto_0
  
249 ····:cond_1278 ····:cond_1
250 ····return-void279 ····return-void
251 .end·method280 .end·method
  
252 .method·private·static·setDialogOverlaySettings(Landroid/app/Dialog;)V281 .method·private·static·setDialogOverlaySettings(Landroid/app/Dialog;)V
253 ····.locals·1282 ····.locals·1
  
254 ····.line·182283 ····.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·p0285 ····move-result-object·p0
  
257 ····const/high16·v0,·0x80000286 ····const/high16·v0,·0x80000
  
258 ····.line·183287 ····.line·198
259 ····invoke-virtual·{p0,·v0},·Landroid/view/Window;->addSystemFlags(I)V288 ····invoke-virtual·{p0,·v0},·Landroid/view/Window;->addSystemFlags(I)V
  
260 ····return-void289 ····return-void
261 .end·method290 .end·method
  
  
262 #·virtual·methods291 #·virtual·methods
263 .method·public·onClick(Landroid/content/DialogInterface;I)V292 .method·public·onClick(Landroid/content/DialogInterface;I)V
264 ····.locals·2293 ····.locals·2
  
265 ····const/4·p1,·0x1294 ····const/4·p1,·0x1
  
266 ····new-array·p1,·p1,·[Landroid/app/Dialog;295 ····new-array·p1,·p1,·[Landroid/app/Dialog;
  
267 ····.line·95296 ····.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,·0x0298 ····const/4·v1,·0x0
  
270 ····aput-object·v0,·p1,·v1299 ····aput-object·v0,·p1,·v1
  
271 ····invoke-static·{p1},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V300 ····invoke-static·{p1},·Lcom/android/providers/media/CacheClearingActivity;->dismissDialogs([Landroid/app/Dialog;)V
  
272 ····const/4·p1,·-0x1301 ····const/4·p1,·-0x1
  
273 ····if-ne·p2,·p1,·:cond_0302 ····if-ne·p2,·p1,·:cond_0
  
274 ····.line·98303 ····.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,·0x0305 ····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;)V306 ····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_0309 ····goto·:goto_0
  
281 ····.line·100310 ····.line·102
282 ····:cond_0311 ····:cond_0
283 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V312 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V
  
284 ····:goto_0313 ····:goto_0
285 ····return-void314 ····return-void
286 .end·method315 .end·method
  
287 .method·public·onCreate(Landroid/os/Bundle;)V316 .method·public·onCreate(Landroid/os/Bundle;)V
288 ····.locals·4317 ····.locals·4
  
289 ····const-string·v0,·"CacheClearingActivity"318 ····const-string·v0,·"CacheClearingActivity"
  
290 ····.line·52319 ····.line·54
291 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V320 ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
  
292 ····.line·53321 ····.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·p1323 ····move-result-object·p1
  
295 ····const/4·v1,·0x0324 ····const/4·v1,·0x0
  
296 ····.line·54325 ····.line·56
297 ····invoke-virtual·{p0,·v1},·Landroid/app/Activity;->setResult(I)V326 ····invoke-virtual·{p0,·v1},·Landroid/app/Activity;->setResult(I)V
  
298 ····if-nez·p1,·:cond_0327 ····if-nez·p1,·:cond_0
  
299 ····.line·57328 ····.line·59
300 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V329 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V
  
301 ····return-void330 ····return-void
  
302 ····.line·61331 ····.line·63
303 ····:cond_0332 ····: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·v2334 ····move-result-object·v2
  
306 ····.line·64335 ····.line·66
307 ····:try_start_0336 ····: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·v1338 ····move-result-object·v1
310 ····:try_end_0339 ····:try_end_0
311 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0340 ····.catch·Landroid/content/pm/PackageManager$NameNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
312 ····.line·71341 ····.line·73
313 ····invoke-static·{p0,·v1},·Lcom/android/providers/media/MediaProvider;->hasPermissionToClearCaches(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z342 ····invoke-static·{p0,·v1},·Lcom/android/providers/media/MediaProvider;->hasPermissionToClearCaches(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z
  
314 ····move-result·v3343 ····move-result·v3
  
315 ····if-nez·v3,·:cond_1344 ····if-nez·v3,·:cond_1
  
316 ····.line·72345 ····.line·74
317 ····new-instance·v1,·Ljava/lang/StringBuilder;346 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
318 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V347 ····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 modifiedOffset 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·p1502 ····move-result-object·p1
  
470 ····invoke-static·{v0,·p1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I503 ····invoke-static·{v0,·p1},·Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
  
471 ····.line·73504 ····.line·75
472 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V505 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V
  
473 ····return-void506 ····return-void
  
474 ····:cond_1507 ····:cond_1
475 ····const/high16·p1,·0x43fa0000····#·500.0f508 ····const/high16·p1,·0x43fa0000····#·500.0f
  
476 ····const/4·v0,·0x2509 ····const/4·v0,·0x2
  
477 ····.line·80510 ····.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·p1512 ····move-result-object·p1
  
480 ····.line·81513 ····.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·p1515 ····move-result-object·p1
  
483 ····.line·83516 ····.line·85
484 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/CacheClearingActivity;->createActionDialog(Ljava/lang/CharSequence;)V517 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/CacheClearingActivity;->createActionDialog(Ljava/lang/CharSequence;)V
  
485 ····.line·84518 ····.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()V520 ····invoke-virtual·{p0},·Landroid/app/AlertDialog;->show()V
  
488 ····return-void521 ····return-void
  
489 ····:catch_0522 ····:catch_0
490 ····move-exception·p1523 ····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·66525 ····.line·68
493 ····invoke-static·{v0,·v1,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I526 ····invoke-static·{v0,·v1,·p1},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
494 ····.line·67527 ····.line·69
495 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V528 ····invoke-virtual·{p0},·Landroid/app/Activity;->finish()V
  
496 ····return-void529 ····return-void
497 .end·method530 .end·method
  
498 .method·protected·onDestroy()V531 .method·protected·onDestroy()V
499 ····.locals·3532 ····.locals·3
  
500 ····.line·89533 ····.line·91
501 ····invoke-super·{p0},·Landroid/app/Activity;->onDestroy()V534 ····invoke-super·{p0},·Landroid/app/Activity;->onDestroy()V
  
502 ····const/4·v0,·0x2535 ····const/4·v0,·0x2
  
503 ····new-array·v0,·v0,·[Landroid/app/Dialog;536 ····new-array·v0,·v0,·[Landroid/app/Dialog;
  
504 ····.line·90537 ····.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,·0x0539 ····const/4·v2,·0x0
  
507 ····aput-object·v1,·v0,·v2540 ····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;