Offset 20, 50 lines modifiedOffset 20, 50 lines modified
20 .field·final·synthetic·this$0:Lcom/android/providers/media/MediaProvider;20 .field·final·synthetic·this$0:Lcom/android/providers/media/MediaProvider;
  
  
21 #·direct·methods21 #·direct·methods
22 .method·public·constructor·<init>(Lcom/android/providers/media/MediaProvider;Ljava/lang/String;)V22 .method·public·constructor·<init>(Lcom/android/providers/media/MediaProvider;Ljava/lang/String;)V
23 ····.locals·023 ····.locals·0
  
24 ····.line·476824 ····.line·4798
25 ····iput-object·p1,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;25 ····iput-object·p1,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;
  
26 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V26 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
27 ····.line·476927 ····.line·4799
28 ····iput-object·p2,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->directoryName:Ljava/lang/String;28 ····iput-object·p2,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->directoryName:Ljava/lang/String;
  
29 ····return-void29 ····return-void
30 .end·method30 .end·method
  
31 .method·private·getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;31 .method·private·getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;
32 ····.locals·432 ····.locals·4
33 ····.annotation·system·Ldalvik/annotation/Throws;33 ····.annotation·system·Ldalvik/annotation/Throws;
34 ········value·=·{34 ········value·=·{
35 ············Ljava/io/IOException;35 ············Ljava/io/IOException;
36 ········}36 ········}
37 ····.end·annotation37 ····.end·annotation
  
38 ····.line·477338 ····.line·4803
39 ····invoke-static·{p1},·Lcom/android/providers/media/MediaProvider;->access$900(Landroid/net/Uri;)Ljava/lang/String;39 ····invoke-static·{p1},·Lcom/android/providers/media/MediaProvider;->access$900(Landroid/net/Uri;)Ljava/lang/String;
  
40 ····move-result-object·v040 ····move-result-object·v0
  
41 ····.line·477441 ····.line·4804
42 ····iget-object·v1,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;42 ····iget-object·v1,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;
  
43 ····invoke-virtual·{v1,·v0},·Lcom/android/providers/media/MediaProvider;->getVolumePath(Ljava/lang/String;)Ljava/io/File;43 ····invoke-virtual·{v1,·v0},·Lcom/android/providers/media/MediaProvider;->getVolumePath(Ljava/lang/String;)Ljava/io/File;
  
44 ····move-result-object·v044 ····move-result-object·v0
  
45 ····const/4·v1,·0x345 ····const/4·v1,·0x3
  
46 ····new-array·v1,·v1,·[Ljava/lang/String;46 ····new-array·v1,·v1,·[Ljava/lang/String;
  
47 ····.line·477547 ····.line·4805
48 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->directoryName:Ljava/lang/String;48 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->directoryName:Ljava/lang/String;
  
49 ····const/4·v2,·0x049 ····const/4·v2,·0x0
  
50 ····aput-object·p0,·v1,·v250 ····aput-object·p0,·v1,·v2
  
51 ····const/4·p0,·0x151 ····const/4·p0,·0x1
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
  
72 ····aput-object·v2,·v1,·p072 ····aput-object·v2,·v1,·p0
  
73 ····new-instance·p0,·Ljava/lang/StringBuilder;73 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
74 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V74 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V
  
75 ····.line·477675 ····.line·4806
76 ····invoke-static·{p1},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J76 ····invoke-static·{p1},·Landroid/content/ContentUris;->parseId(Landroid/net/Uri;)J
  
77 ····move-result-wide·v277 ····move-result-wide·v2
  
78 ····invoke-virtual·{p0,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;78 ····invoke-virtual·{p0,·v2,·v3},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
  
79 ····const-string·p1,·".jpg"79 ····const-string·p1,·".jpg"
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
  
91 ····move-result-object·p091 ····move-result-object·p0
  
92 ····const/4·p1,·0x292 ····const/4·p1,·0x2
  
93 ····aput-object·p0,·v1,·p193 ····aput-object·p0,·v1,·p1
  
94 ····.line·477594 ····.line·4805
95 ····invoke-static·{v0,·v1},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;95 ····invoke-static·{v0,·v1},·Lcom/android/providers/media/util/FileUtils;->buildPath(Ljava/io/File;[Ljava/lang/String;)Ljava/io/File;
  
96 ····move-result-object·p096 ····move-result-object·p0
  
97 ····return-object·p097 ····return-object·p0
98 .end·method98 .end·method
  
Offset 109, 90 lines modifiedOffset 109, 90 lines modified
109 ····.locals·7109 ····.locals·7
110 ····.annotation·system·Ldalvik/annotation/Throws;110 ····.annotation·system·Ldalvik/annotation/Throws;
111 ········value·=·{111 ········value·=·{
112 ············Ljava/io/IOException;112 ············Ljava/io/IOException;
113 ········}113 ········}
114 ····.end·annotation114 ····.end·annotation
  
115 ····.line·4786115 ····.line·4816
116 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;116 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;
  
117 ····move-result-object·v0117 ····move-result-object·v0
  
118 ····const/high16·v1,·0x10000000118 ····const/high16·v1,·0x10000000
  
119 ····.line·4788119 ····.line·4818
120 ····:try_start_0120 ····:try_start_0
121 ····invoke-static·{v0,·v1},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;121 ····invoke-static·{v0,·v1},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;
  
122 ····move-result-object·p0122 ····move-result-object·p0
123 ····:try_end_0123 ····:try_end_0
124 ····.catch·Ljava/io/FileNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0124 ····.catch·Ljava/io/FileNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0
  
125 ····return-object·p0125 ····return-object·p0
  
126 ····.line·4793126 ····.line·4823
127 ····:catch_0127 ····:catch_0
128 ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File;128 ····invoke-virtual·{v0},·Ljava/io/File;->getParentFile()Ljava/io/File;
  
129 ····move-result-object·v2129 ····move-result-object·v2
  
130 ····.line·4794130 ····.line·4824
131 ····invoke-virtual·{v2},·Ljava/io/File;->mkdirs()Z131 ····invoke-virtual·{v2},·Ljava/io/File;->mkdirs()Z
  
132 ····const-string·v3,·"thumb"132 ····const-string·v3,·"thumb"
  
133 ····const/4·v4,·0x0133 ····const/4·v4,·0x0
  
134 ····.line·4802134 ····.line·4832
135 ····invoke-static·{v3,·v4,·v2},·Ljava/io/File;->createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;135 ····invoke-static·{v3,·v4,·v2},·Ljava/io/File;->createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
  
136 ····move-result-object·v2136 ····move-result-object·v2
  
137 ····const/high16·v3,·0x28000000137 ····const/high16·v3,·0x28000000
  
138 ····.line·4811138 ····.line·4841
139 ····:try_start_1139 ····:try_start_1
140 ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;140 ····invoke-static·{v2,·v3},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;
  
141 ····move-result-object·v3141 ····move-result-object·v3
142 ····:try_end_1142 ····:try_end_1
143 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1143 ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1
  
144 ····.line·4813144 ····.line·4843
145 ····:try_start_2145 ····:try_start_2
146 ····invoke-static·{v2,·v1},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;146 ····invoke-static·{v2,·v1},·Lcom/android/providers/media/util/FileUtils;->openSafely(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor;
  
147 ····move-result-object·v4147 ····move-result-object·v4
  
148 ····.line·4816148 ····.line·4846
149 ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailBitmap(Landroid/net/Uri;Landroid/os/CancellationSignal;)Landroid/graphics/Bitmap;149 ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailBitmap(Landroid/net/Uri;Landroid/os/CancellationSignal;)Landroid/graphics/Bitmap;
  
150 ····move-result-object·p1150 ····move-result-object·p1
  
151 ····.line·4817151 ····.line·4847
152 ····sget-object·p2,·Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;152 ····sget-object·p2,·Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;
  
153 ····const/16·v1,·0x5a153 ····const/16·v1,·0x5a
  
154 ····new-instance·v5,·Ljava/io/FileOutputStream;154 ····new-instance·v5,·Ljava/io/FileOutputStream;
  
155 ····.line·4818155 ····.line·4848
156 ····invoke-virtual·{v3},·Landroid/os/ParcelFileDescriptor;->getFileDescriptor()Ljava/io/FileDescriptor;156 ····invoke-virtual·{v3},·Landroid/os/ParcelFileDescriptor;->getFileDescriptor()Ljava/io/FileDescriptor;
  
157 ····move-result-object·v6157 ····move-result-object·v6
  
158 ····invoke-direct·{v5,·v6},·Ljava/io/FileOutputStream;-><init>(Ljava/io/FileDescriptor;)V158 ····invoke-direct·{v5,·v6},·Ljava/io/FileOutputStream;-><init>(Ljava/io/FileDescriptor;)V
  
159 ····.line·4817159 ····.line·4847
160 ····invoke-virtual·{p1,·p2,·v1,·v5},·Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z160 ····invoke-virtual·{p1,·p2,·v1,·v5},·Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z
161 ····:try_end_2161 ····:try_end_2
162 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0162 ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0
  
163 ····.line·4822163 ····.line·4852
164 ····:try_start_3164 ····:try_start_3
165 ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;165 ····invoke-virtual·{v2},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
  
166 ····move-result-object·p1166 ····move-result-object·p1
  
167 ····invoke-virtual·{v0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;167 ····invoke-virtual·{v0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
  
Offset 204, 33 lines modifiedOffset 204, 33 lines modified
204 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0204 ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_0
  
205 ····goto·:goto_0205 ····goto·:goto_0
  
206 ····:catch_1206 ····:catch_1
207 ····move-exception·p1207 ····move-exception·p1
  
208 ····.line·4824208 ····.line·4854
209 ····:try_start_4209 ····:try_start_4
210 ····invoke-virtual·{p1},·Landroid/system/ErrnoException;->rethrowAsIOException()Ljava/io/IOException;210 ····invoke-virtual·{p1},·Landroid/system/ErrnoException;->rethrowAsIOException()Ljava/io/IOException;
  
211 ····.line·4829211 ····.line·4859
212 ····:goto_0212 ····:goto_0
213 ····invoke-virtual·{v4},·Landroid/os/ParcelFileDescriptor;->dup()Landroid/os/ParcelFileDescriptor;213 ····invoke-virtual·{v4},·Landroid/os/ParcelFileDescriptor;->dup()Landroid/os/ParcelFileDescriptor;
  
214 ····move-result-object·p1214 ····move-result-object·p1
215 ····:try_end_4215 ····:try_end_4
216 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_0216 ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_0
  
217 ····.line·4834217 ····.line·4864
218 ····invoke-static·{v3},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V218 ····invoke-static·{v3},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V
  
219 ····.line·4835219 ····.line·4865
220 ····invoke-static·{v4},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V220 ····invoke-static·{v4},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V
  
221 ····.line·4836221 ····.line·4866
222 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;222 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;
  
223 ····invoke-static·{p0,·v2},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V223 ····invoke-static·{p0,·v2},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V
  
224 ····return-object·p1224 ····return-object·p1
  
225 ····:catchall_0225 ····:catchall_0
Offset 243, 27 lines modifiedOffset 243, 27 lines modified
243 ····goto·:goto_1243 ····goto·:goto_1
  
244 ····:catchall_1244 ····:catchall_1
245 ····move-exception·p1245 ····move-exception·p1
  
246 ····move-object·p2,·v4246 ····move-object·p2,·v4
  
247 ····.line·4834247 ····.line·4864
248 ····:goto_1248 ····:goto_1
249 ····invoke-static·{v4},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V249 ····invoke-static·{v4},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V
  
250 ····.line·4835250 ····.line·4865
251 ····invoke-static·{p2},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V251 ····invoke-static·{p2},·Lcom/android/providers/media/util/FileUtils;->closeQuietly(Ljava/lang/AutoCloseable;)V
  
252 ····.line·4836252 ····.line·4866
253 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;253 ····iget-object·p0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;
  
254 ····invoke-static·{p0,·v2},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V254 ····invoke-static·{p0,·v2},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V
  
255 ····.line·4837255 ····.line·4867
256 ····throw·p1256 ····throw·p1
257 .end·method257 .end·method
  
258 .method·public·abstract·getThumbnailBitmap(Landroid/net/Uri;Landroid/os/CancellationSignal;)Landroid/graphics/Bitmap;258 .method·public·abstract·getThumbnailBitmap(Landroid/net/Uri;Landroid/os/CancellationSignal;)Landroid/graphics/Bitmap;
259 ····.annotation·system·Ldalvik/annotation/Throws;259 ····.annotation·system·Ldalvik/annotation/Throws;
260 ········value·=·{260 ········value·=·{
261 ············Ljava/io/IOException;261 ············Ljava/io/IOException;
Offset 275, 15 lines modifiedOffset 275, 15 lines modified
275 ····.locals·1275 ····.locals·1
276 ····.annotation·system·Ldalvik/annotation/Throws;276 ····.annotation·system·Ldalvik/annotation/Throws;
277 ········value·=·{277 ········value·=·{
278 ············Ljava/io/IOException;278 ············Ljava/io/IOException;
279 ········}279 ········}
280 ····.end·annotation280 ····.end·annotation
  
281 ····.line·4841281 ····.line·4871
282 ····iget-object·v0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;282 ····iget-object·v0,·p0,·Lcom/android/providers/media/MediaProvider$Thumbnailer;->this$0:Lcom/android/providers/media/MediaProvider;
  
283 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;283 ····invoke-direct·{p0,·p1},·Lcom/android/providers/media/MediaProvider$Thumbnailer;->getThumbnailFile(Landroid/net/Uri;)Ljava/io/File;
  
284 ····move-result-object·p0284 ····move-result-object·p0
  
285 ····invoke-static·{v0,·p0},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V285 ····invoke-static·{v0,·p0},·Lcom/android/providers/media/MediaProvider;->access$1000(Lcom/android/providers/media/MediaProvider;Ljava/io/File;)V